summaryrefslogtreecommitdiff
path: root/hw/xwin/wincreatewnd.c
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2015-11-20 12:01:49 +0000
committerJon Turney <jon.turney@dronecode.org.uk>2015-11-20 12:01:49 +0000
commit6b720d25a1c3f6f236630db380979b980cf5e21e (patch)
tree4f0a250cd97d0dbd1a5cda810443b05a6599d09e /hw/xwin/wincreatewnd.c
parent43fb888bd01cf9d3d277e77a52a3d0c93ccff8bd (diff)
parentd394c14f032c71e2dcb1850d0528e184e484f51f (diff)
Merge branch 'cygwin-patches-for-1.18' into cygwin-release-1.18xserver-cygwin-1.18.0-1
Diffstat (limited to 'hw/xwin/wincreatewnd.c')
-rw-r--r--hw/xwin/wincreatewnd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/xwin/wincreatewnd.c b/hw/xwin/wincreatewnd.c
index b2f797c51..e6e587f9f 100644
--- a/hw/xwin/wincreatewnd.c
+++ b/hw/xwin/wincreatewnd.c
@@ -171,7 +171,7 @@ winCreateBoundingWindowWindowed(ScreenPtr pScreen)
fForceShowWindow = TRUE;
}
dwWindowStyle |= WS_CAPTION;
- if (pScreenInfo->iResizeMode != notAllowed)
+ if (pScreenInfo->iResizeMode != resizeNotAllowed)
dwWindowStyle |= WS_THICKFRAME | WS_MAXIMIZEBOX;
}
else
@@ -226,7 +226,7 @@ winCreateBoundingWindowWindowed(ScreenPtr pScreen)
)
&& (pScreenInfo->iResizeMode == resizeWithScrollbars)) {
/* We cannot have scrollbars if we do not have a window border */
- pScreenInfo->iResizeMode = notAllowed;
+ pScreenInfo->iResizeMode = resizeNotAllowed;
}
/* Did the user specify a height and width? */
@@ -253,7 +253,7 @@ winCreateBoundingWindowWindowed(ScreenPtr pScreen)
#endif
/* Are we resizable */
- if (pScreenInfo->iResizeMode != notAllowed) {
+ if (pScreenInfo->iResizeMode != resizeNotAllowed) {
#if CYGDEBUG
winDebug
("winCreateBoundingWindowWindowed - Window is resizable\n");