diff options
author | Keith Packard <keithp@keithp.com> | 2003-11-10 04:46:24 +0000 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2003-11-10 04:46:24 +0000 |
commit | febeaf7ad1f81ac6b77fa35a5f21e7819c69ebb7 (patch) | |
tree | 2a16a0d8fc6aef56bbd299a8f03f160b250dbe72 /xcompmgr.c | |
parent | oops. Left in an XSynchronize call. (diff) | |
download | xcman-febeaf7ad1f81ac6b77fa35a5f21e7819c69ebb7.tar.gz xcman-febeaf7ad1f81ac6b77fa35a5f21e7819c69ebb7.tar.bz2 xcman-febeaf7ad1f81ac6b77fa35a5f21e7819c69ebb7.tar.xz |
Configure damage must include shadow region, not just window. Also, leaking
region on each configure.
Diffstat (limited to '')
-rw-r--r-- | xcompmgr.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -666,8 +666,9 @@ configure_win (Display *dpy, XConfigureEvent *ce) } if (damage) { - XserverRegion border = border_size (dpy, w); - XFixesUnionRegion (dpy, damage, damage, 0, 0, border, 0, 0); + XserverRegion extents = win_extents (dpy, w); + XFixesUnionRegion (dpy, damage, damage, 0, 0, extents, 0, 0); + XFixesDestroyRegion (dpy, extents); add_damage (dpy, damage); } } |