From 0bd08f4ab4d5c5d3e64ed02506180ca46df3a6cc Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Sun, 10 Mar 2019 16:34:07 +0000 Subject: [PATCH] Don't call glx_on_root_change when using new backends Signed-off-by: Yuxuan Shui --- src/compton.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/compton.c b/src/compton.c index 931a1ce1..0124978a 100644 --- a/src/compton.c +++ b/src/compton.c @@ -777,8 +777,9 @@ void configure_root(session_t *ps, int width, int height) { #ifdef CONFIG_OPENGL // GLX root change callback - if (BKEND_GLX == ps->o.backend) + if (BKEND_GLX == ps->o.backend && !ps->o.experimental_backends) { glx_on_root_change(ps); + } #endif if (ps->o.experimental_backends) { if (has_root_change) { @@ -3010,5 +3011,3 @@ int main(int argc, char **argv) { return 0; } - -// vim: set et sw=2 :