xsession: more changes for compton

This commit is contained in:
Vincent Bernat 2018-08-04 10:55:31 +02:00
parent f6486dff94
commit c7a3a44b37

View file

@ -43,9 +43,9 @@ case $(glxinfo | awk -F': ' '($1 == "OpenGL vendor string") {print $2}') in
"NVIDIA Corporation") "NVIDIA Corporation")
# --glx-swap-method 2 causes cursor to be duplicated earlier on the line or flickering # --glx-swap-method 2 causes cursor to be duplicated earlier on the line or flickering
# --glx-no-rebind-pixmap triggers some slow refresh, eg when using `delete-indentation' in Emacs # --glx-no-rebind-pixmap triggers some slow refresh, eg when using `delete-indentation' in Emacs
compton --daemon --backend glx --vsync opengl-swc --glx-swap-method 3 --paint-on-overlay #compton --daemon --backend glx --vsync opengl-swc --glx-swap-method 3 --paint-on-overlay
# It seems there is no way to not have tearing with xrender... # It seems there is no way to not have tearing with xrender...
#compton --daemon --backend xrender compton --daemon --backend xrender --paint-on-overlay
;; ;;
*) *)
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