summaryrefslogtreecommitdiff
path: root/hw/xwin/winscrinit.c
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2010-03-30 20:48:10 +0100
committerJon TURNEY <jon.turney@dronecode.org.uk>2011-01-19 14:02:23 +0000
commit85c497a8b6c488ef9ea2c6d7b49e6f9b992fb4a2 (patch)
treed175616665cdc1a22679fd19a03889c6ea8dc0fb /hw/xwin/winscrinit.c
parent873abef315f5d947b864428891381bff539c5869 (diff)
Cygwin/X: Implement framebuffer resizing in RANDR extension
Implement framebuffer resizing in RANDR extension: Resize the frame buffer, the screen's root window and the native window containing the root window image. Correctly allow for decorations in new native window size when resizing native window to fit the new framebuffer size with AdjustWindowRectEx() Update physical size info for a screen when it is changed by RANDR Forbid client-requested RANDR changes in fullscreen and rootless modes Only resize window on an external RandR request, to avoid recursing on a WM_SIZE requested resize. Also, add prototypes for winRandRInit() and winDoRandRScreenSetSize() to header file Also, update the author list and copyright for winrandr.c Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Colin Harrison <colin.harrison@virgin.net> Tested-by: Colin Harrison <colin.harrison@virgin.net>
Diffstat (limited to 'hw/xwin/winscrinit.c')
-rw-r--r--hw/xwin/winscrinit.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/hw/xwin/winscrinit.c b/hw/xwin/winscrinit.c
index 74ca11557..e0686e2c4 100644
--- a/hw/xwin/winscrinit.c
+++ b/hw/xwin/winscrinit.c
@@ -69,10 +69,6 @@ winMWExtWMProcs = {
* Prototypes
*/
-Bool
-winRandRInit (ScreenPtr pScreen);
-
-
/*
* Local functions
*/