From cb220bd2d1933899e2f69315a93e8fe1e0a42a32 Mon Sep 17 00:00:00 2001 From: odrling Date: Mon, 21 Oct 2019 13:56:15 +0200 Subject: [PATCH] fix java applications without wmname --- .profile | 3 +++ .xinitrc | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.profile b/.profile index 1fca13b..48e8dae 100644 --- a/.profile +++ b/.profile @@ -6,6 +6,9 @@ export PATH="$HOME/.local/bin:$PATH:$HOME/.vim/fzf/bin" export FZF_DEFAULT_OPTS="-m --no-mouse" export FZF_DEFAULT_COMMAND="find . -type f | cut -d'/' -f2-" +# fix java swing applications +export _JAVA_AWT_WM_NONREPARENTING=1 + [ -f ~/.profile.local ] && . ~/.profile.local if [ "$(tty)" = '/dev/tty1' ]; then diff --git a/.xinitrc b/.xinitrc index 31bf3dc..70fe1ad 100644 --- a/.xinitrc +++ b/.xinitrc @@ -19,8 +19,5 @@ setxkbmap fr oss & # hide cursor when unused unclutter --ignore-scrolling -b -# fix java swing applications -wmname LG3D - # start dwm exec ck-launch-session dbus-launch dwm