SeamlessRDP bugfix: The first window to XRestackWindows should be the

reference window (the "behind" window); not the window to restack.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1452 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
Peter Åstrand 2008-03-14 07:39:38 +00:00
parent bf69855fea
commit d654753ea6

7
xwin.c
View File

@ -3702,13 +3702,12 @@ ui_seamless_restack_window(unsigned long id, unsigned long behind, unsigned long
sw_behind = sw_get_window_by_id(behind);
if (!sw_behind)
{
warning("ui_seamless_restack_window: No information for window 0x%lx\n",
behind);
warning("ui_seamless_restack_window: No information for behind window 0x%lx\n", behind);
return;
}
wnds[1] = sw_behind->wnd;
wnds[0] = sw->wnd;
wnds[1] = sw->wnd;
wnds[0] = sw_behind->wnd;
XRestackWindows(g_display, wnds, 2);
}