From a73094f48c3d18e39b279a2154cda6fb1919171f Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Wed, 1 Aug 2018 08:54:10 +0200 Subject: [PATCH] xsession: renable compton's glx-no-rebind-pixmap With more recent nvidia drivers (396.x instead of 390.x), it now works. --- xsession | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xsession b/xsession index 5c97ff1..0409c1b 100644 --- a/xsession +++ b/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