Module: wine Branch: master Commit: af369106dbc9361c4329adb6e1b1cec3b2f7990b URL: http://source.winehq.org/git/wine.git/?a=commit;h=af369106dbc9361c4329adb6e1...
Author: Alexandre Julliard julliard@winehq.org Date: Tue Mar 18 12:42:25 2008 +0100
winex11: Clip out children window when repainting the desktop.
---
dlls/winex11.drv/window.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c index 2d94455..4802add 100644 --- a/dlls/winex11.drv/window.c +++ b/dlls/winex11.drv/window.c @@ -1532,6 +1532,7 @@ void X11DRV_GetDC( HDC hdc, HWND hwnd, HWND top, const RECT *win_rect, escape.fbconfig_id = data ? data->fbconfig_id : (XID)GetPropA( hwnd, fbconfig_id_prop ); escape.gl_drawable = data ? data->gl_drawable : (Drawable)GetPropA( hwnd, gl_drawable_prop ); escape.pixmap = data ? data->pixmap : (Pixmap)GetPropA( hwnd, pixmap_prop ); + if (flags & DCX_CLIPCHILDREN) escape.mode = ClipByChildren; }
escape.dc_rect.left = win_rect->left - top_rect->left;