From: Iain Patterson Date: Thu, 25 Aug 2011 09:58:22 +0000 (+0100) Subject: Disable menubar dragging in GTKv2 apps. X-Git-Url: http://git.iain.cx/?p=profile.git;a=commitdiff_plain;h=0f9a59a66f227e1fd738a4a06654a0a23843bc03 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. --- 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"