From 76cb1ea2e2c8a7100e8d6086cb721a3a737c6993 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Wed, 4 Jul 2018 13:28:44 +0200 Subject: Disable GTK3 menu bar window dragging …this was a _joy_ to debug. Who would have thought that the GTK3 default interferred with window management to that extend. --- gui/gtk.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'gui/gtk.nix') diff --git a/gui/gtk.nix b/gui/gtk.nix index 1a6a0ff..f373cd9 100644 --- a/gui/gtk.nix +++ b/gui/gtk.nix @@ -51,8 +51,15 @@ package = pkgs.iosevka; }; - gtk3.extraConfig = { - gtk-decoration-layout = ""; + gtk3 = { + extraConfig = { + gtk-decoration-layout = ""; + }; + extraCss = '' + menubar, .menubar { + -GtkWidget-window-dragging: false; + } + ''; }; }; -- cgit v1.2.3