Branch: refs/heads/webkitglib/2.52
  Home:   https://github.com/WebKit/WebKit
  Commit: 8b6afd72144ffb1e6310dc72925949ca47a08f13
      
https://github.com/WebKit/WebKit/commit/8b6afd72144ffb1e6310dc72925949ca47a08f13
  Author: Kate Lee <[email protected]>
  Date:   2026-04-10 (Fri, 10 Apr 2026)

  Changed paths:
    M Source/WebCore/page/EventHandler.cpp

  Log Message:
  -----------
  Cherry-pick 310827@main (45f6219e113d). 
https://bugs.webkit.org/show_bug.cgi?id=311544

    [WPE][GTK] preventDefault() on pointerdown does not suppress gesture-based 
compatibility mouse events from touch.
    https://bugs.webkit.org/show_bug.cgi?id=311544

    Reviewed by Carlos Garcia Campos.

    After dispatching pointer events via dispatchEventForTouchAtIndex() in
    EventHandler::handleTouchEvent(), check 
preventsCompatibilityMouseEventsForIdentifier()
    for the touch pointer ID. If it returns true (meaning pointerdown was 
cancelled),
    set swallowedEvent=true so that wasEventHandled=true propagates to the 
UIProcess,
    preventing gesture-based mouse synthesis.

    * Source/WebCore/page/EventHandler.cpp:
    (WebCore::EventHandler::handleTouchEvent):

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

Canonical link: https://commits.webkit.org/305877.407@webkitglib/2.52



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to