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

Alexandre Julliard julliard at winehq.org
Tue Nov 27 14:30:49 CST 2012


Module: wine
Branch: master
Commit: 6c94d4466ac575c0b703c9c2000208d40251de4e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=6c94d4466ac575c0b703c9c2000208d40251de4e

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Nov 27 16:51:46 2012 +0100

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

---

 server/window.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/server/window.c b/server/window.c
index fc40d55..a460a7c 100644
--- a/server/window.c
+++ b/server/window.c
@@ -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,




More information about the wine-cvs mailing list