In clip_children() don't clip the visible region by children that have
a WS_EX_TRANSPARENT style.
diff --git a/dlls/x11drv/winpos.c b/dlls/x11drv/winpos.c
index c930b82..52828ff 100644
--- a/dlls/x11drv/winpos.c
+++ b/dlls/x11drv/winpos.c
@@ -86,9 +86,6 @@
/* first check if we have anything to do */
if (!(list = WIN_ListChildren( parent ))) return ret;
- for (i = 0; list[i] && list[i] != last; i++)
- if (GetWindowLongW( list[i], GWL_STYLE ) & WS_VISIBLE) break;
- if (!list[i] || list[i] == last) goto done; /* no children to clip */
if (whole_window)
{
@@ -101,10 +98,10 @@
rectRgn = CreateRectRgn( 0, 0, 0, 0 );
- for ( ; list[i] && list[i] != last; i++)
+ for (i = 0; list[i] && list[i] != last; i++)
{
if (!(ptr = WIN_FindWndPtr( list[i] ))) continue;
- if (ptr->dwStyle & WS_VISIBLE)
+ if ((ptr->dwStyle & WS_VISIBLE) && !(ptr->dwExStyle & WS_EX_TRANSPARENT))
{
SetRectRgn( rectRgn, ptr->rectWindow.left + x, ptr->rectWindow.top + y,
ptr->rectWindow.right + x, ptr->rectWindow.bottom + y );
@@ -117,7 +114,6 @@
WIN_ReleaseWndPtr( ptr );
}
DeleteObject( rectRgn );
- done:
HeapFree( GetProcessHeap(), 0, list );
return ret;
}