xsession: do not use compton's --glx-no-rebind-pixmap

Cause some issues in Emacs.
This commit is contained in:
Vincent Bernat 2018-07-28 12:48:38 +02:00
parent 7c8c7b2401
commit b9f6e1b7b2

View file

@ -56,7 +56,9 @@ systemd-run -q --scope --user tmux start-server
case $(glxinfo | awk -F': ' '($1 == "OpenGL vendor string") {print $2}') in case $(glxinfo | awk -F': ' '($1 == "OpenGL vendor string") {print $2}') in
"NVIDIA Corporation") "NVIDIA Corporation")
compton --daemon --backend glx --refresh-rate 60 --vsync opengl-swc --glx-swap-method 3 --glx-no-rebind-pixmap # --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 --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