Skip to content
Snippets Groups Projects
Commit 1316f95f authored by Olivier Fourdan's avatar Olivier Fourdan
Browse files

Fix composite redraw with XShape windows

(Old svn revision: 22463)
parent 78a56b72
No related branches found
No related tags found
No related merge requests found
......@@ -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)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment