Commit e0c082b3 authored by Alexandre Julliard's avatar Alexandre Julliard

We only need to check for same process siblings in desktop mode for

top-level windows.
parent 166e96d1
......@@ -560,7 +560,8 @@ int X11DRV_sync_whole_window_position( Display *display, WND *win, int zorder )
{
HWND next = GetWindow( win->hwndSelf, GW_HWNDNEXT );
if (root_window != DefaultRootWindow(display))
if (win->parent == GetDesktopWindow() &&
root_window != DefaultRootWindow(display))
{
/* in desktop mode we need the sibling to belong to the same process */
while (next)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment