From 2a71e7815eb30dc82b4d22166f5660706802075b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gutyina=20Gerg=C5=91?= Date: Tue, 22 Aug 2023 12:56:59 +0200 Subject: [PATCH] dwm: add _JAVA_AWT_WM_NONREPARENTING=1 dwm is not in Java's internal list of non-reparrenting window managers. Running Java GUI programs without this variable on window managers (eg. jd-gui) causes the window to be blank. --- nixos/modules/services/x11/window-managers/dwm.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/x11/window-managers/dwm.nix b/nixos/modules/services/x11/window-managers/dwm.nix index e114f2e26b17..82900fd30540 100644 --- a/nixos/modules/services/x11/window-managers/dwm.nix +++ b/nixos/modules/services/x11/window-managers/dwm.nix @@ -45,6 +45,7 @@ in { name = "dwm"; start = '' + export _JAVA_AWT_WM_NONREPARENTING=1 dwm & waitPID=$! '';