[epiphany] Add Alt+Home to key event blacklist
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Add Alt+Home to key event blacklist
- Date: Sat, 11 Mar 2017 18:11:05 +0000 (UTC)
commit 9235ad357b763593748f8f6f0249b4d4e41c2da5
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Sat Mar 11 12:07:38 2017 -0600
Add Alt+Home to key event blacklist
WebKit always handles this key press event, so our Alt+Home shortcut
does not work if the web view is focused... which is pretty much always.
Fix that.
https://bugzilla.gnome.org/show_bug.cgi?id=779901
src/ephy-window.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/ephy-window.c b/src/ephy-window.c
index d405910..1bedad3 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -550,7 +550,8 @@ ephy_window_should_view_receive_key_press_event (EphyWindow *window,
if ((event->state & state_mask) == GDK_MOD1_MASK)
return keyval != GDK_KEY_Left && /* Back */
- keyval != GDK_KEY_Right; /* Forward */
+ keyval != GDK_KEY_Right && /* Forward */
+ keyval != GDK_KEY_Home; /* Homepage */
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]