From abd559c512996f15562425182e1e862132cc65f7 Mon Sep 17 00:00:00 2001 From: Richard Grenville Date: Sat, 27 Apr 2013 20:43:39 +0800 Subject: [PATCH] Bug fix: Fix a BadRegion error with --glx-use-copysubbuffermesa Just a small and mostly harmless issue. Sorry, didn't test throughly. --- src/compton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compton.c b/src/compton.c index d5989d6..a97ca17 100644 --- a/src/compton.c +++ b/src/compton.c @@ -1614,7 +1614,7 @@ paint_all(session_t *ps, XserverRegion region, XserverRegion region_real, win *t #endif if (!region) { - region = get_screen_region(ps); + region_real = region = get_screen_region(ps); } else { // Remove the damaged area out of screen