aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-05-26 11:58:01 +0200
committerUlrich Sibiller <uli42@gmx.de>2020-01-05 22:37:36 +0100
commitf48e2da3e86b2d7600de3d5d4ef6f81ba2c17bed (patch)
tree1efba2b451808da95eba958aba3138f54e5a58e2 /nx-X11/programs
parent1bd78de58aff68b6ad7758efdad2a73f731f0072 (diff)
downloadnx-libs-f48e2da3e86b2d7600de3d5d4ef6f81ba2c17bed.tar.gz
nx-libs-f48e2da3e86b2d7600de3d5d4ef6f81ba2c17bed.tar.bz2
nx-libs-f48e2da3e86b2d7600de3d5d4ef6f81ba2c17bed.zip
miwindow.c: mark NX changes
Diffstat (limited to 'nx-X11/programs')
-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)
{