Title: [245853] trunk/Source/WebCore
Revision
245853
Author
[email protected]
Date
2019-05-29 10:23:16 -0700 (Wed, 29 May 2019)

Log Message

Prepend KEY_ to the last key alias in PlatformEventKeyboardGtk
https://bugs.webkit.org/show_bug.cgi?id=198331

Patch by Ludovico de Nittis <[email protected]> on 2019-05-29
Reviewed by Michael Catanzaro.

No behavior change.

With the commit
https://bugs.webkit.org/show_bug.cgi?id=198326
A gdk key slipped away from the renaming.

* platform/gtk/PlatformKeyboardEventGtk.cpp:
(WebCore::modifiersForGdkKeyEvent):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (245852 => 245853)


--- trunk/Source/WebCore/ChangeLog	2019-05-29 17:05:02 UTC (rev 245852)
+++ trunk/Source/WebCore/ChangeLog	2019-05-29 17:23:16 UTC (rev 245853)
@@ -1,3 +1,19 @@
+2019-05-29  Ludovico de Nittis  <[email protected]>
+
+        Prepend KEY_ to the last key alias in PlatformEventKeyboardGtk
+        https://bugs.webkit.org/show_bug.cgi?id=198331
+
+        Reviewed by Michael Catanzaro.
+
+        No behavior change.
+
+        With the commit
+        https://bugs.webkit.org/show_bug.cgi?id=198326
+        A gdk key slipped away from the renaming.
+
+        * platform/gtk/PlatformKeyboardEventGtk.cpp:
+        (WebCore::modifiersForGdkKeyEvent):
+
 2019-05-29  Zalan Bujtas  <[email protected]>
 
         [LFC][IFC] Move Line class to a dedicated file

Modified: trunk/Source/WebCore/platform/gtk/PlatformKeyboardEventGtk.cpp (245852 => 245853)


--- trunk/Source/WebCore/platform/gtk/PlatformKeyboardEventGtk.cpp	2019-05-29 17:05:02 UTC (rev 245852)
+++ trunk/Source/WebCore/platform/gtk/PlatformKeyboardEventGtk.cpp	2019-05-29 17:23:16 UTC (rev 245853)
@@ -1330,7 +1330,7 @@
 static OptionSet<PlatformEvent::Modifier> modifiersForGdkKeyEvent(GdkEventKey* event)
 {
     OptionSet<PlatformEvent::Modifier> modifiers;
-    if (event->state & GDK_SHIFT_MASK || event->keyval == GDK_3270_BackTab)
+    if (event->state & GDK_SHIFT_MASK || event->keyval == GDK_KEY_3270_BackTab)
         modifiers.add(PlatformEvent::Modifier::ShiftKey);
     if (event->state & GDK_CONTROL_MASK)
         modifiers.add(PlatformEvent::Modifier::ControlKey);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to