Skip to content
Snippets Groups Projects
Commit e0c082b3 authored by Alexandre Julliard's avatar Alexandre Julliard
Browse files

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

top-level windows.
parent 166e96d1
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment