[devhelp] Window: make right-click menu work in WebKitWebView



commit c4eb83815663844f416f49d84e37e561a1bb0e4b
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Thu Dec 14 18:48:11 2017 +0100

    Window: make right-click menu work in WebKitWebView
    
    This was a low-hanging fruit.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=606831

 src/dh-window.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/dh-window.c b/src/dh-window.c
index 77d282d..f28249a 100644
--- a/src/dh-window.c
+++ b/src/dh-window.c
@@ -1120,9 +1120,6 @@ window_web_view_button_press_event_cb (WebKitWebView  *web_view,
                                        DhWindow       *window)
 {
         switch (event->button) {
-                case 3:
-                        return GDK_EVENT_STOP;
-
                 /* Some mice emit button presses when the scroll wheel is tilted
                  * to the side. Web browsers use them to navigate in history.
                  */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]