From 7f97bf939620124f8f3157e5bf72378bae9cb931 Mon Sep 17 00:00:00 2001 From: Richard Grenville Date: Sat, 27 Apr 2013 20:43:39 +0800 Subject: Bug fix: Fix a BadRegion error with --glx-use-copysubbuffermesa Just a small and mostly harmless issue. Sorry, didn't test throughly. --- compton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compton.c') diff --git a/compton.c b/compton.c index d5989d668..a97ca17c9 100644 --- a/compton.c +++ b/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 -- cgit v1.2.1