summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Grenville <[email protected]>2013-04-27 20:43:39 +0800
committerRichard Grenville <[email protected]>2013-04-27 20:43:39 +0800
commit7f97bf939620124f8f3157e5bf72378bae9cb931 (patch)
tree06bf489118e30d4eaa4b1c27d9e2e9c11cd01f41
parent19471a428959f681f1f4c14a46e6dc01dd212ad4 (diff)
downloadtdebase-7f97bf939620124f8f3157e5bf72378bae9cb931.tar.gz
tdebase-7f97bf939620124f8f3157e5bf72378bae9cb931.zip
Bug fix: Fix a BadRegion error with --glx-use-copysubbuffermesa
Just a small and mostly harmless issue. Sorry, didn't test throughly.
-rw-r--r--compton.c2
1 files changed, 1 insertions, 1 deletions
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