Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b3a26e61256043433ad22ee653568934f5ed819e
https://github.com/WebKit/WebKit/commit/b3a26e61256043433ad22ee653568934f5ed819e
Author: Michael Catanzaro <[email protected]>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M Source/WebCore/page/EventHandler.cpp
M Source/WebCore/page/EventHandler.h
Log Message:
-----------
[GTK] Paste primary selection on button release, not on button press
https://bugs.webkit.org/show_bug.cgi?id=247375
Reviewed by Carlos Garcia Campos.
This changes how middle click paste works. Let's paste on mouse button
up (released) rather than button down (pressed).
This is inconsistent with GTK's behavior, but it matches all other
platforms and is superior because it allows Epiphany to process mouse
gestures first and handle the event before WebKit pastes anything.
* Source/WebCore/page/EventHandler.cpp:
(WebCore::EventHandler::handleMousePressEventSingleClick):
(WebCore::EventHandler::handleMouseReleaseEvent):
(WebCore::EventHandler::handlePasteGlobalSelection):
* Source/WebCore/page/EventHandler.h:
Canonical link: https://commits.webkit.org/279915@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes