[vte] app: gtk4: Disable F10 menubar accel



commit 4c85df696c8ee4e858cd0584410b2ddfc98fc4ed
Author: Christian Persch <chpe src gnome org>
Date:   Tue Mar 16 17:55:47 2021 +0100

    app: gtk4: Disable F10 menubar accel

 src/app/app.cc | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/src/app/app.cc b/src/app/app.cc
index 684a754d..35f72379 100644
--- a/src/app/app.cc
+++ b/src/app/app.cc
@@ -2784,6 +2784,9 @@ vteapp_window_new(GApplication* app)
 {
         return reinterpret_cast<VteappWindow*>(g_object_new(VTEAPP_TYPE_WINDOW,
                                                             "application", app,
+#if VTE_GTK == 4 && GTK_CHECK_VERSION(4, 2, 0)
+                                                            "handle-menubar-accel", false,
+#endif
                                                             nullptr));
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]