aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/mi/miwindow.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/programs/Xserver/mi/miwindow.c')
-rw-r--r--nx-X11/programs/Xserver/mi/miwindow.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/mi/miwindow.c b/nx-X11/programs/Xserver/mi/miwindow.c
index c696caf26..4e67987d6 100644
--- a/nx-X11/programs/Xserver/mi/miwindow.c
+++ b/nx-X11/programs/Xserver/mi/miwindow.c
@@ -1037,6 +1037,7 @@ miSetShape(pWin)
(pWin, 0, 0, pOldClip,
pWin->drawable.x, pWin->drawable.y);
+#ifdef NXAGENT_SERVER
/*
* Applies to NXAGENT_SERVER builds:
*
@@ -1056,6 +1057,9 @@ miSetShape(pWin)
*/
if (WasViewable && pOldClip)
+#else
+ if (WasViewable)
+#endif
RegionDestroy(pOldClip);
if (bsExposed)
{