diff options
author | raveit65 <[email protected]> | 2017-11-21 22:08:28 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-11-22 17:51:12 +0100 |
commit | 471b87793bff4e81c5f6f47efd8dcc69349e4758 (patch) | |
tree | e8fd401a6b9569ceccf1ed52ea2fd6fdbdef70a2 /libview/ev-link-accessible.c | |
parent | 072541b9457cdb0ca41fa5948803b1b7d8d17a11 (diff) | |
download | atril-471b87793bff4e81c5f6f47efd8dcc69349e4758.tar.bz2 atril-471b87793bff4e81c5f6f47efd8dcc69349e4758.tar.xz |
shell: forward accels to the focused widget
GtkWindow catches keybindings for the menu items _before_ passing them to
the focused widget. This is unfortunate and means that pressing ctrl+Left
arrow, Ctrl+Right arrow on the search bar ends up turning the EvView
instead of moving around the text.
Here we override GtkWindow's handler to do the same things that it
does, but in the opposite order and then we chain up to the grand
parent handler, skipping gtk_window_key_press_event.
See https://bugzilla.gnome.org/show_bug.cgi?id=676040
inspired from https://git.gnome.org/browse/evince/commit/?id=70a2c0780b1b44acfa18f4762a3400b89eb123b5
fix rhbz https://bugzilla.redhat.com/show_bug.cgi?id=1513826
Diffstat (limited to 'libview/ev-link-accessible.c')
0 files changed, 0 insertions, 0 deletions