Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 02196ebd1929a498ae53c4b689d78312094cd0dc https://github.com/WebKit/WebKit/commit/02196ebd1929a498ae53c4b689d78312094cd0dc Author: Carlos Garcia Campos <cgar...@igalia.com> Date: 2023-07-17 (Mon, 17 Jul 2023)
Changed paths: M Source/WebCore/platform/PlatformKeyboardEvent.h M Source/WebCore/platform/gtk/GtkUtilities.cpp M Source/WebCore/platform/gtk/GtkUtilities.h M Source/WebCore/platform/gtk/GtkVersioning.h M Source/WebCore/platform/gtk/PlatformKeyboardEventGtk.cpp M Source/WebKit/Shared/gtk/WebEventFactory.cpp M Source/WebKit/UIProcess/API/gtk/WebKitWebViewBase.cpp M Source/WebKit/UIProcess/WebPageProxy.cpp M Source/WebKit/UIProcess/WebPageProxy.h M Source/WebKit/UIProcess/gtk/WebPageProxyGtk.cpp Log Message: ----------- [GTK] Handle global modifiers state in the UI process only https://bugs.webkit.org/show_bug.cgi?id=258965 Reviewed by Michael Catanzaro. The web process updates the global modifiers state on every key event received and when the view gets focused. * Source/WebCore/platform/PlatformKeyboardEvent.h: * Source/WebCore/platform/gtk/GtkUtilities.cpp: (WebCore::eventModifiersContainCapsLock): * Source/WebCore/platform/gtk/GtkUtilities.h: * Source/WebCore/platform/gtk/GtkVersioning.h: (gtk_event_controller_get_current_event): (gdk_event_get_display): * Source/WebCore/platform/gtk/PlatformKeyboardEventGtk.cpp: (WebCore::PlatformKeyboardEvent::currentStateOfModifierKeys): (WebCore::PlatformKeyboardEvent::modifiersContainCapsLock): Deleted. * Source/WebKit/Shared/gtk/WebEventFactory.cpp: (WebKit::modifiersForEvent): * Source/WebKit/UIProcess/API/gtk/WebKitWebViewBase.cpp: (modifiersForSynthesizedEvent): (webkitWebViewBaseTouchRelease): (webkitWebViewBaseTouchDragUpdate): (webkitWebViewBaseTouchDragEnd): (toWebKitModifiers): * Source/WebKit/UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::updateCurrentModifierState): * Source/WebKit/UIProcess/WebPageProxy.h: * Source/WebKit/UIProcess/gtk/WebPageProxyGtk.cpp: (WebKit::WebPageProxy::currentStateOfModifierKeys): Canonical link: https://commits.webkit.org/266095@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes