fix java applications without wmname

This commit is contained in:
odrling 2019-10-21 13:56:15 +02:00
parent 3c7812bfd3
commit cb220bd2d1
2 changed files with 3 additions and 3 deletions

View File

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

View File

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