summary refs log tree commit diff
path: root/nixos/modules/services/x11/window-managers
diff options
context:
space:
mode:
authorGutyina Gergő <gutyina.gergo.2@gmail.com>2023-08-22 12:56:59 +0200
committerGutyina Gergő <gutyina.gergo.2@gmail.com>2023-08-22 12:56:59 +0200
commit2a71e7815eb30dc82b4d22166f5660706802075b (patch)
tree09ff54a4d5936950bb47e1b934cb9e8aac66cadd /nixos/modules/services/x11/window-managers
parentd680ded26da5cf104dd2735a51e88d2d8f487b4d (diff)
downloadnixpkgs-2a71e7815eb30dc82b4d22166f5660706802075b.tar
nixpkgs-2a71e7815eb30dc82b4d22166f5660706802075b.tar.gz
nixpkgs-2a71e7815eb30dc82b4d22166f5660706802075b.tar.bz2
nixpkgs-2a71e7815eb30dc82b4d22166f5660706802075b.tar.lz
nixpkgs-2a71e7815eb30dc82b4d22166f5660706802075b.tar.xz
nixpkgs-2a71e7815eb30dc82b4d22166f5660706802075b.tar.zst
nixpkgs-2a71e7815eb30dc82b4d22166f5660706802075b.zip
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.
Diffstat (limited to 'nixos/modules/services/x11/window-managers')
-rw-r--r--nixos/modules/services/x11/window-managers/dwm.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/x11/window-managers/dwm.nix b/nixos/modules/services/x11/window-managers/dwm.nix
index e114f2e26b1..82900fd3054 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=$!
           '';