http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2ea572
)
winex11: Clip out children window when repainting the desktop.
author
Alexandre Julliard
<julliard@winehq.org>
Tue, 18 Mar 2008 11:42:25 +0000
(12:42 +0100)
committer
Alexandre Julliard
<julliard@winehq.org>
Tue, 18 Mar 2008 11:42:25 +0000
(12:42 +0100)
dlls/winex11.drv/window.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/winex11.drv/window.c
b/dlls/winex11.drv/window.c
index 2d944558f4b04b3cfd1af9bf2ffccb4522782eca..4802add1afbf112177a4f6b9da6dbb89611d7cb7 100644
(file)
--- 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;