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.
This commit is contained in:
Leo Pham 2020-12-01 19:32:18 +11:00 committed by GitHub
parent 32b93ef6ea
commit 88fa30263d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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