Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP7:Update
webkit2gtk3.30377
webkit2gtk3-gtk4-build-fix.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File webkit2gtk3-gtk4-build-fix.patch of Package webkit2gtk3.30377
diff -rup webkitgtk-2.38.5.orig/Source/WebKit/UIProcess/API/gtk/WebKitWebViewBase.cpp webkitgtk-2.38.5/Source/WebKit/UIProcess/API/gtk/WebKitWebViewBase.cpp --- webkitgtk-2.38.5.orig/Source/WebKit/UIProcess/API/gtk/WebKitWebViewBase.cpp 2023-02-14 03:01:07.433508600 -0600 +++ webkitgtk-2.38.5/Source/WebKit/UIProcess/API/gtk/WebKitWebViewBase.cpp 2023-02-16 15:53:44.007943521 -0600 @@ -977,7 +977,9 @@ static bool shouldForwardWheelEvent(WebK #if USE(GTK4) if (!event || webViewBase->priv->wheelEventsToPropagate.isEmpty()) return false; +#if GTK_CHECK_VERSION(4, 6, 5) if (gdk_event_get_event_type(event) != GDK_TOUCHPAD_HOLD) { +#endif // Some events that were meant for delayed propagation may have been coalesced/compressed by GDK into the current event: // https://docs.gtk.org/gtk4/migrating-3to4.html#adapt-to-gdkevent-api-changes // There's no way to both propagate and stop the current event, so just clear out these obsolete events from the to-be-propagated vector. @@ -994,7 +996,9 @@ static bool shouldForwardWheelEvent(WebK }); } } +#if GTK_CHECK_VERSION(4, 6, 5) } +#endif return webViewBase->priv->wheelEventsToPropagate.removeFirst(event); #else return std::exchange(webViewBase->priv->shouldForwardNextWheelEvent, false);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor