Reimplemented Get/SetActiveWindow, Get/SetFocus and
Get/SetForegroundWindow by storing the information in the
server. Implemented correct inter-process window activation.
diff --git a/windows/nonclient.c b/windows/nonclient.c
index dbf1270..180547b 100644
--- a/windows/nonclient.c
+++ b/windows/nonclient.c
@@ -1999,7 +1999,7 @@
{
HWND top = GetAncestor( hwnd, GA_ROOT );
- if( WINPOS_SetActiveWindow(top, TRUE, TRUE) || (GetActiveWindow() == top) )
+ if (FOCUS_MouseActivate( top ) || (GetActiveWindow() == top))
SendMessageW( hwnd, WM_SYSCOMMAND, SC_MOVE + HTCAPTION, lParam );
break;
}