[webkit-changes] [WebKit/WebKit] a941dd: Cherry-pick 265104 at main (c313668f2cf7). https://bu...

Michael Catanzaro noreply at github.com
Tue Jun 13 05:26:32 PDT 2023


  Branch: refs/heads/webkitglib/2.40
  Home:   https://github.com/WebKit/WebKit
  Commit: a941dd0c0e75129b1e49166250b0207a1b1f5cac
      https://github.com/WebKit/WebKit/commit/a941dd0c0e75129b1e49166250b0207a1b1f5cac
  Author: Michael Catanzaro <mcatanzaro at redhat.com>
  Date:   2023-06-13 (Tue, 13 Jun 2023)

  Changed paths:
    M Source/WebKit/Shared/WebEvent.h
    M Source/WebKit/Shared/gtk/NativeWebWheelEventGtk.cpp
    M Source/WebKit/Shared/gtk/WebEventFactory.cpp
    M Source/WebKit/Shared/gtk/WebEventFactory.h

  Log Message:
  -----------
  Cherry-pick 265104 at main (c313668f2cf7). https://bugs.webkit.org/show_bug.cgi?id=257910

    [GTK] No key modifier present in wheel event
    https://bugs.webkit.org/show_bug.cgi?id=257910

    Reviewed by Carlos Garcia Campos.

    Pass the key modifier along with wheel events, rather than dropping it.
    Thanks to Elie Donadio for debugging the problem, identifying the code
    that needed fixed, and also providing a manual test case to confirm
    the result.

    This additionally passes along the wall time from the GdkEvent rather
    than using current time.

    * Source/WebKit/Shared/WebEvent.h:
    * Source/WebKit/Shared/gtk/NativeWebWheelEventGtk.cpp:
    (WebKit::NativeWebWheelEvent::NativeWebWheelEvent):
    * Source/WebKit/Shared/gtk/WebEventFactory.cpp:
    (WebKit::WebEventFactory::createWebWheelEvent):
    * Source/WebKit/Shared/gtk/WebEventFactory.h:

    Canonical link: https://commits.webkit.org/265104@main

Canonical link: https://commits.webkit.org/260527.375@webkitglib/2.40




More information about the webkit-changes mailing list