diff options
author | Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> | 2004-11-06 11:56:57 +0000 |
---|---|---|
committer | Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> | 2004-11-06 11:56:57 +0000 |
commit | e494e24c508b34b144355cb380aac16abf2fb891 (patch) | |
tree | f1dfcc9d511a4188bbacb6b0f09780fb116cfd82 /hw/xwin/winmultiwindowwindow.c | |
parent | 16ee24cd994fa3f8d479c972f18c8207a5116cb7 (diff) |
Wrap all mwextwm and internalwm code with XWIN_MULTIWINDOWEXTWM
Diffstat (limited to 'hw/xwin/winmultiwindowwindow.c')
-rw-r--r-- | hw/xwin/winmultiwindowwindow.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/hw/xwin/winmultiwindowwindow.c b/hw/xwin/winmultiwindowwindow.c index a9fff7a65..7c369a4a4 100644 --- a/hw/xwin/winmultiwindowwindow.c +++ b/hw/xwin/winmultiwindowwindow.c @@ -813,7 +813,9 @@ winMinimizeWindow (Window id) { WindowPtr pWin; winPrivWinPtr pWinPriv; +#ifdef XWIN_MULTIWINDOWEXTWM win32RootlessWindowPtr pRLWinPriv; +#endif HWND hWnd; ScreenPtr pScreen = NULL; winPrivScreenPtr pScreenPriv = NULL; @@ -829,12 +831,16 @@ winMinimizeWindow (Window id) if (pScreen) pScreenPriv = winGetScreenPriv(pScreen); if (pScreenPriv) pScreenInfo = pScreenPriv->pScreenInfo; +#ifdef XWIN_MULTIWINDOWEXTWM if (pScreenPriv && pScreenInfo->fInternalWM) { pRLWinPriv = (win32RootlessWindowPtr) RootlessFrameForWindow (pWin, FALSE); hWnd = pRLWinPriv->hWnd; } else +#else + if (pScreenPriv) +#endif { pWinPriv = winGetWindowPriv (pWin); hWnd = pWinPriv->hWnd; |