aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xwin/winwndproc.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-01-28 15:43:29 +0000
committermarha <marha@users.sourceforge.net>2011-01-28 15:43:29 +0000
commitb3be16ace28c0a51052c3b76162efbab811abf84 (patch)
tree72aca06573b4901ee11033a54c837ae857b94481 /xorg-server/hw/xwin/winwndproc.c
parent3dc6a410655083df5831c5b607c2bb0626446aca (diff)
parentc4d402326310d620866b1ad82ef0691526e2c311 (diff)
downloadvcxsrv-b3be16ace28c0a51052c3b76162efbab811abf84.tar.gz
vcxsrv-b3be16ace28c0a51052c3b76162efbab811abf84.tar.bz2
vcxsrv-b3be16ace28c0a51052c3b76162efbab811abf84.zip
Enabled ROOTLESS option in dix (currenlty not really used)
Diffstat (limited to 'xorg-server/hw/xwin/winwndproc.c')
-rw-r--r--xorg-server/hw/xwin/winwndproc.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/xorg-server/hw/xwin/winwndproc.c b/xorg-server/hw/xwin/winwndproc.c
index 97a8f854f..aa158674e 100644
--- a/xorg-server/hw/xwin/winwndproc.c
+++ b/xorg-server/hw/xwin/winwndproc.c
@@ -1198,7 +1198,7 @@ winWindowProc (HWND hwnd, UINT message,
/* Call engine specific screen activation/deactivation function */
(*s_pScreenPriv->pwinActivateApp) (s_pScreen);
-#ifdef XWIN_MULTIWINDOWEXTWM
+#ifdef XWIN_MULTIWINDOWINTWM
if (s_pScreenPriv->fActive)
{
/* Restack all window unless using built-in wm. */
@@ -1268,22 +1268,26 @@ winWindowProc (HWND hwnd, UINT message,
winDebug ("winWindowProc - WM_MANAGE\n");
s_pScreenInfo->fAnotherWMRunning = FALSE;
+#ifdef XWIN_MULTIWINDOWINTWM
if (s_pScreenInfo->fInternalWM)
{
EnumThreadWindows (g_dwCurrentThreadID, winMWExtWMDecorateWindow, 0);
//RootlessRepositionWindows (s_pScreen);
}
+#endif
break;
case WM_UNMANAGE:
winDebug ("winWindowProc - WM_UNMANAGE\n");
s_pScreenInfo->fAnotherWMRunning = TRUE;
+#ifdef XWIN_MULTIWINDOWINTWM
if (s_pScreenInfo->fInternalWM)
{
EnumThreadWindows (g_dwCurrentThreadID, winMWExtWMDecorateWindow, 0);
winMWExtWMRestackWindows (s_pScreen);
}
+#endif
break;
#endif