[vte/vte-0-70] widget: Don't consume right clicks on gtk4
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte/vte-0-70] widget: Don't consume right clicks on gtk4
- Date: Fri, 23 Sep 2022 18:46:24 +0000 (UTC)
commit 5bf476f1d7283bc805ac8ae6abe94f81ffd7be05
Author: Christian Persch <chpe src gnome org>
Date: Fri Sep 23 20:43:47 2022 +0200
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
src/vte.cc | 9 ---------
1 file changed, 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]