diff options
author | Jon TURNEY <jon.turney@dronecode.org.uk> | 2010-03-30 20:48:10 +0100 |
---|---|---|
committer | Jon TURNEY <jon.turney@dronecode.org.uk> | 2011-01-19 14:02:23 +0000 |
commit | 85c497a8b6c488ef9ea2c6d7b49e6f9b992fb4a2 (patch) | |
tree | d175616665cdc1a22679fd19a03889c6ea8dc0fb /hw/xwin/win.h | |
parent | 873abef315f5d947b864428891381bff539c5869 (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/win.h')
-rw-r--r-- | hw/xwin/win.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/hw/xwin/win.h b/hw/xwin/win.h index 0df1d27fc..bbc0f2fbf 100644 --- a/hw/xwin/win.h +++ b/hw/xwin/win.h @@ -1472,6 +1472,18 @@ void winInitializeScreens(int maxscreens); /* + * winrandr.c + */ +Bool +winRandRInit (ScreenPtr pScreen); +void +winDoRandRScreenSetSize (ScreenPtr pScreen, + CARD16 width, + CARD16 height, + CARD32 mmWidth, + CARD32 mmHeight); + +/* * END DDX and DIX Function Prototypes */ |