mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-23 18:28:34 +02:00
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:
parent
56a264731d
commit
a73094f48c
1 changed files with 1 additions and 2 deletions
3
xsession
3
xsession
|
@ -42,8 +42,7 @@ systemd-run -q --scope --user tmux start-server
|
|||
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 --glx-no-rebind-pixmap
|
||||
;;
|
||||
*)
|
||||
compton --daemon --backend glx --xrender-sync --xrender-sync-fence --vsync opengl-swc --paint-on-overlay
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue