⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 245853 in webkit


Ignore:
Timestamp:
May 29, 2019, 10:23:16 AM (7 years ago)
Author:
commit-queue@webkit.org
Message:

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

Patch by Ludovico de Nittis <ludovico.denittis@collabora.com> 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):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r245850 r245853  
     12019-05-29  Ludovico de Nittis  <ludovico.denittis@collabora.com>
     2
     3        Prepend KEY_ to the last key alias in PlatformEventKeyboardGtk
     4        https://bugs.webkit.org/show_bug.cgi?id=198331
     5
     6        Reviewed by Michael Catanzaro.
     7
     8        No behavior change.
     9
     10        With the commit
     11        https://bugs.webkit.org/show_bug.cgi?id=198326
     12        A gdk key slipped away from the renaming.
     13
     14        * platform/gtk/PlatformKeyboardEventGtk.cpp:
     15        (WebCore::modifiersForGdkKeyEvent):
     16
    1172019-05-29  Zalan Bujtas  <zalan@apple.com>
    218
  • trunk/Source/WebCore/platform/gtk/PlatformKeyboardEventGtk.cpp

    r245849 r245853  
    13311331{
    13321332    OptionSet<PlatformEvent::Modifier> modifiers;
    1333     if (event->state & GDK_SHIFT_MASK || event->keyval == GDK_3270_BackTab)
     1333    if (event->state & GDK_SHIFT_MASK || event->keyval == GDK_KEY_3270_BackTab)
    13341334        modifiers.add(PlatformEvent::Modifier::ShiftKey);
    13351335    if (event->state & GDK_CONTROL_MASK)
Note: See TracChangeset for help on using the changeset viewer.