server: Don't expose the desktop on window resizes.

This commit is contained in:
Alexandre Julliard 2012-11-27 16:51:46 +01:00
parent fbeb1b4acf
commit 6c94d4466a
1 changed files with 1 additions and 1 deletions

View File

@ -1581,7 +1581,7 @@ static struct region *expose_window( struct window *win, const rectangle_t *old_
}
}
if (win->parent)
if (win->parent && !is_desktop_window( win->parent ))
{
/* make it relative to the old window pos for subtracting */
offset_region( new_vis_rgn, win->window_rect.left - old_window_rect->left,