From 58e65df5d61839a0448508d3304dde2c1511c538 Mon Sep 17 00:00:00 2001 From: Bryan Ramos Date: Sun, 30 Apr 2023 14:48:13 -0400 Subject: [PATCH] Fix sway java applications --- homeConfig/dotfiles/bash/bash_profile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/homeConfig/dotfiles/bash/bash_profile b/homeConfig/dotfiles/bash/bash_profile index 7950f5e..a03745f 100644 --- a/homeConfig/dotfiles/bash/bash_profile +++ b/homeConfig/dotfiles/bash/bash_profile @@ -3,3 +3,8 @@ if [ -z "$DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then # Start Sway in the background exec sway fi + +if [ "$XDG_CURRENT_DESKTOP" = "sway" ] ; then + # https://github.com/swaywm/sway/issues/595 + export _JAVA_AWT_WM_NONREPARENTING=1 +fi