diff options
author | Christian Persch <chpe@src.gnome.org> | 2023-02-15 19:33:44 +0100 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2023-02-15 19:33:44 +0100 |
commit | 5cabbd7b8d9fe2f78068916835f54c54c9b77f2a (patch) | |
tree | 4269dfc791dcb830eea908f6ae9d94b42fbe9881 | |
parent | 680dc9a3fb312aa995efe01aa6a569a259d0bc8e (diff) | |
download | vte-5cabbd7b8d9fe2f78068916835f54c54c9b77f2a.tar.gz |
widget: Don't consume right clicks on gtk4
gtk4 still needs to handle context menus correctly, but on stable branch
we need to remove always claiming the event since it doesn't do anything
yet.
https://gitlab.gnome.org/GNOME/vte/-/issues/2593
(cherry picked from commit 5bf476f1d7283bc805ac8ae6abe94f81ffd7be05)
-rw-r--r-- | src/vte.cc | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -4964,15 +4964,6 @@ Terminal::widget_key_press(vte::platform::KeyEvent const& event) return true; } -#if VTE_GTK == 4 - if (!handled && - event.matches(GDK_KEY_Menu, 0)) { - _vte_debug_print(VTE_DEBUG_EVENTS, "Showing context menu\n"); - // FIXMEgtk4 do context menu - handled = true; - } -#endif - return false; } |