From 9dcd908c8b608afebf2945e0c9459be0e8536f09 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Mon, 3 Apr 2017 16:31:36 -0500 Subject: [PATCH] Fix compositor screen tearing --- de/compton.conf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/de/compton.conf b/de/compton.conf index b0513f4..3602a38 100644 --- a/de/compton.conf +++ b/de/compton.conf @@ -24,19 +24,21 @@ fading = true; fade-in-step = 0.06; fade-out-step = 0.06; fade-exclude = [ ]; -backend = "xrender"; +backend = "glx"; mark-wmwin-focused = true; mark-ovredir-focused = true; detect-rounded-corners = true; detect-client-opacity = true; refresh-rate = 0; -vsync = "none"; +vsync = "opengl-swc"; dbe = false; paint-on-overlay = true; focus-exclude = [ "class_g = 'Cairo-clock'" ]; detect-transient = true; detect-client-leader = true; invert-color-include = [ ]; +glx-no-stencil = true; +glx-no-rebind-pixmap = true; glx-copy-from-front = false; glx-swap-method = "undefined"; wintypes :