[epiphany] window: Add F6 to key event blacklist



commit 3e2f75d400c484983aea9708185580faed1f9a30
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sat Jan 28 11:22:20 2017 -0600

    window: Add F6 to key event blacklist
    
    For whatever reason, the webview always consumes this, breaking our
    keyboard shortcut.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=777873

 src/ephy-window.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 19c8750..db56dc5 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -521,6 +521,10 @@ ephy_window_should_view_receive_key_press_event (EphyWindow  *window,
                                        &consumed);
   state_mask &= ~consumed;
 
+  /* Focus location entry */
+  if (keyval == GDK_KEY_F6)
+    return FALSE;
+
   /* Websites are allowed to override most Epiphany accelerators, but not
    * window or tab management accelerators. */
   if ((event->state & state_mask) == GDK_CONTROL_MASK)


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