From 88fa30263daac17c1b8ac73b1f87ba512461d61e Mon Sep 17 00:00:00 2001 From: Leo Pham Date: Tue, 1 Dec 2020 19:32:18 +1100 Subject: [PATCH] Set _JAVA_AWT_WM_NONREPARENTING in sway.desktop Fixes issue #595 . From what I understand, Java expects non-reparenting WMs to set this environmental variable in order for applications like IntelliJ Idea to work, since it has no way to detect this on its own. --- sway.desktop | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sway.desktop b/sway.desktop index 420db5aa1..f8e02e7d0 100644 --- a/sway.desktop +++ b/sway.desktop @@ -1,5 +1,5 @@ [Desktop Entry] Name=Sway Comment=An i3-compatible Wayland compositor -Exec=sway +Exec=env _JAVA_AWT_WM_NONREPARENTING=1 sway Type=Application