xsession: enable --unredir-if-possible compton option

This commit is contained in:
Vincent Bernat 2018-07-28 22:35:15 +02:00
parent 731ea82793
commit 08d310408a

View file

@ -42,10 +42,10 @@ case $(glxinfo | awk -F': ' '($1 == "OpenGL vendor string") {print $2}') in
"NVIDIA Corporation")
# --glx-swap-method 2 causes cursor to be duplicated earlier on the line
# --glx-no-rebind-pixmap causes text not being redrawn when chaging to another line in Emacs
compton --daemon --backend glx --vsync opengl-swc --glx-swap-method 3
compton --daemon --backend glx --vsync opengl-swc --glx-swap-method 3 --unredir-if-possible
;;
*)
compton --daemon --backend glx --xrender-sync --xrender-sync-fence --vsync opengl-swc --paint-on-overlay
compton --daemon --backend glx --xrender-sync --xrender-sync-fence --vsync opengl-swc --paint-on-overlay --unredir-if-possible
;;
esac