summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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