From 0f9a59a66f227e1fd738a4a06654a0a23843bc03 Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Thu, 25 Aug 2011 10:58:22 +0100 Subject: [PATCH] Disable menubar dragging in GTKv2 apps. By default you can click in an application's menubar and drag to move the window around. Disable this behaviour by setting the "window-dragging" attribute of GtkMenuBar widgets to 0. --- .themes/override-2.0 | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .themes/override-2.0 diff --git a/.themes/override-2.0 b/.themes/override-2.0 new file mode 100644 index 0000000..8445e56 --- /dev/null +++ b/.themes/override-2.0 @@ -0,0 +1,6 @@ +# Disable dragging windows by clicking in the menubar. +style "no-drag" = "Default" { + GtkWidget::window-dragging = 0 +} + +widget_class "**" style : rc "no-drag" -- 2.7.4