From 1316f95ffafb31c7071cd419b0fc14db97798d36 Mon Sep 17 00:00:00 2001 From: Olivier Fourdan <fourdan.olivier@wanadoo.fr> Date: Sun, 16 Jul 2006 16:53:07 +0000 Subject: [PATCH] Fix composite redraw with XShape windows (Old svn revision: 22463) --- src/compositor.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index b5bfc8beb..9a3bbad38 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -1985,7 +1985,7 @@ resize_win (CWindow *cw, gint x, gint y, gint width, gint height, gint bw, gbool cw->extents = None; } - if ((cw->attr.width != width) || (cw->attr.height != height)) + if ((cw->attr.width != width) || (cw->attr.height != height) || shape_notify) { #if HAVE_NAME_WINDOW_PIXMAP if (cw->name_window_pixmap) @@ -2007,7 +2007,8 @@ resize_win (CWindow *cw, gint x, gint y, gint width, gint height, gint bw, gbool } } - if ((cw->attr.width != width) || (cw->attr.height != height) || (cw->attr.x != x) || (cw->attr.y != y)) + if ((cw->attr.width != width) || (cw->attr.height != height) || + (cw->attr.x != x) || (cw->attr.y != y) || shape_notify) { if (cw->borderSize) { -- GitLab