summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2022-09-23 20:43:47 +0200
committerChristian Persch <chpe@src.gnome.org>2022-09-23 20:46:10 +0200
commit5bf476f1d7283bc805ac8ae6abe94f81ffd7be05 (patch)
treeadc65e2988b605a557dd6720b0f217ef4e957bed
parentff1b03e450fddae623401d8dc619a6c4f17df42d (diff)
downloadvte-5bf476f1d7283bc805ac8ae6abe94f81ffd7be05.tar.gz
widget: Don't consume right clicks on gtk40.70.1
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
-rw-r--r--src/vte.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/vte.cc b/src/vte.cc
index 09e17cec..4290ee1d 100644
--- a/src/vte.cc
+++ b/src/vte.cc
@@ -4932,15 +4932,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;
}