summaryrefslogtreecommitdiff
path: root/src/app
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2021-03-16 17:55:47 +0100
committerChristian Persch <chpe@src.gnome.org>2021-03-16 17:55:47 +0100
commit4c85df696c8ee4e858cd0584410b2ddfc98fc4ed (patch)
treed692cc1091cffb1c9a468b8f539925f2bb302397 /src/app
parentb333d66879963637099dc0bc5a702f50f34da67e (diff)
downloadvte-4c85df696c8ee4e858cd0584410b2ddfc98fc4ed.tar.gz
app: gtk4: Disable F10 menubar accel
Diffstat (limited to 'src/app')
-rw-r--r--src/app/app.cc3
1 files changed, 3 insertions, 0 deletions
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));
}