xsession: renable compton's glx-no-rebind-pixmap

With more recent nvidia drivers (396.x instead of 390.x), it now works.
This commit is contained in:
Vincent Bernat 2018-08-01 08:54:10 +02:00
parent 56a264731d
commit a73094f48c

View file

@ -42,8 +42,7 @@ 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")
# --glx-swap-method 2 causes cursor to be duplicated earlier on the line # --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 --glx-no-rebind-pixmap
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