diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | xcompmgr.c | 5 |
2 files changed, 9 insertions, 2 deletions
@@ -1,5 +1,11 @@ 2003-11-09 Keith Packard <keithp@keithp.com> + * xcompmgr.c: (configure_win): + Configure damage must include shadow region, not just window. + Also, leaking region on each configure. + +2003-11-09 Keith Packard <keithp@keithp.com> + * xcompmgr.c: (main): oops. Left in an XSynchronize call. @@ -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); } } |