Title: [195250] releases/WebKitGTK/webkit-2.10/Source/WebKit2
- Revision
- 195250
- Author
- [email protected]
- Date
- 2016-01-18 23:44:38 -0800 (Mon, 18 Jan 2016)
Log Message
Merge r194846 - [WK2][GTK] Propagate motion-notify-event signals from the WebView
https://bugs.webkit.org/show_bug.cgi?id=152974
Reviewed by Carlos Garcia Campos.
Always propagate motion-notify-event signals, regardless of what the
web process does, so that we can listen for those events (which does
not act on specific targets inside the webview) from the container
widget too, and not just from the WebView itself.
* UIProcess/API/gtk/WebKitWebViewBase.cpp:
(webkitWebViewBaseMotionNotifyEvent): Ensure the signal gets propagated.
Modified Paths
Diff
Modified: releases/WebKitGTK/webkit-2.10/Source/WebKit2/ChangeLog (195249 => 195250)
--- releases/WebKitGTK/webkit-2.10/Source/WebKit2/ChangeLog 2016-01-19 07:41:47 UTC (rev 195249)
+++ releases/WebKitGTK/webkit-2.10/Source/WebKit2/ChangeLog 2016-01-19 07:44:38 UTC (rev 195250)
@@ -1,3 +1,18 @@
+2016-01-11 Mario Sanchez Prada <[email protected]>
+
+ [WK2][GTK] Propagate motion-notify-event signals from the WebView
+ https://bugs.webkit.org/show_bug.cgi?id=152974
+
+ Reviewed by Carlos Garcia Campos.
+
+ Always propagate motion-notify-event signals, regardless of what the
+ web process does, so that we can listen for those events (which does
+ not act on specific targets inside the webview) from the container
+ widget too, and not just from the WebView itself.
+
+ * UIProcess/API/gtk/WebKitWebViewBase.cpp:
+ (webkitWebViewBaseMotionNotifyEvent): Ensure the signal gets propagated.
+
2016-01-01 Michael Catanzaro <[email protected]>
[SOUP] REGRESSION(r192761): Broke resource URIs for applications that use g_resource_load in a web extension
Modified: releases/WebKitGTK/webkit-2.10/Source/WebKit2/UIProcess/API/gtk/WebKitWebViewBase.cpp (195249 => 195250)
--- releases/WebKitGTK/webkit-2.10/Source/WebKit2/UIProcess/API/gtk/WebKitWebViewBase.cpp 2016-01-19 07:41:47 UTC (rev 195249)
+++ releases/WebKitGTK/webkit-2.10/Source/WebKit2/UIProcess/API/gtk/WebKitWebViewBase.cpp 2016-01-19 07:44:38 UTC (rev 195250)
@@ -780,11 +780,11 @@
WebKitWebViewBasePrivate* priv = webViewBase->priv;
if (priv->authenticationDialog)
- return TRUE;
+ return GTK_WIDGET_CLASS(webkit_web_view_base_parent_class)->motion_notify_event(widget, event);
priv->pageProxy->handleMouseEvent(NativeWebMouseEvent(reinterpret_cast<GdkEvent*>(event), 0 /* currentClickCount */));
- return TRUE;
+ return FALSE;
}
#if ENABLE(TOUCH_EVENTS)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes