From 571e9b5f1ffe792d4b6d859ca7832b689ca3ea6a Mon Sep 17 00:00:00 2001 From: Mitchell Pleune Date: Tue, 3 May 2016 17:39:18 -0400 Subject: [PATCH] bspwm: add _JAVA_AWT_WM_NONREPARENTING=1 bspwm is not in java's internal list of non-reparrenting window managers. See https://awesomewm.org/wiki/Problems_with_Java --- nixos/modules/services/x11/window-managers/bspwm.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/x11/window-managers/bspwm.nix b/nixos/modules/services/x11/window-managers/bspwm.nix index 271b1b6cf5da..03a1b7a72e88 100644 --- a/nixos/modules/services/x11/window-managers/bspwm.nix +++ b/nixos/modules/services/x11/window-managers/bspwm.nix @@ -38,6 +38,7 @@ in start = if cfg.startThroughSession then cfg.sessionScript else '' + export _JAVA_AWT_WM_NONREPARENTING=1 SXHKD_SHELL=/bin/sh ${pkgs.sxhkd}/bin/sxhkd -f 100 & ${pkgs.bspwm}/bin/bspwm '';