summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowitz@users.sourceforge.net>2010-08-02 19:00:34 -0500
committerYaakov Selkowitz <yselkowitz@users.sourceforge.net>2010-08-02 19:00:34 -0500
commit989f84d01bccd7bfca30a9edfa923c99ce57fcf1 (patch)
tree07dabe87fc904c0df68c92b538f2b3e7fe2add40
parent97e74cee27f420b4ede5979d017d0942f2deaa4b (diff)
parent7fec890b37bd4ae04a2db2a6dd81317de117850a (diff)
Merge remote branch 'jturney/for-yaakov' into cygwin-release-1.8
-rwxr-xr-xhw/xwin/winrandr.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/hw/xwin/winrandr.c b/hw/xwin/winrandr.c
index 105efb93a..3177489ca 100755
--- a/hw/xwin/winrandr.c
+++ b/hw/xwin/winrandr.c
@@ -173,7 +173,7 @@ xf86SetRootClip (ScreenPtr pScreen, Bool enable)
/*
*/
-Bool
+void
winDoRandRScreenSetSize (ScreenPtr pScreen,
CARD16 width,
CARD16 height,
@@ -192,7 +192,6 @@ winDoRandRScreenSetSize (ScreenPtr pScreen,
if (!(*pScreenPriv->pwinAllocateFB)(pScreen))
{
ErrorF ("winRandRScreenSetSize - Could not reallocate framebuffer\n");
- return FALSE;
}
pScreen->width = width;
@@ -218,8 +217,6 @@ winDoRandRScreenSetSize (ScreenPtr pScreen,
/* Indicate that a screen size change took place */
RRScreenSizeNotify(pScreen);
-
- return TRUE;
}
/*
@@ -297,6 +294,8 @@ winRandRScreenSetSize (ScreenPtr pScreen,
0, 0, rcClient.right-rcClient.left, rcClient.bottom-rcClient.top,
SWP_NOZORDER | SWP_NOMOVE);
}
+
+ return TRUE;
}
/*