summaryrefslogtreecommitdiffstats
path: root/xorg/X11R7.6
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2013-12-03 16:24:30 -0800
committerJay Sorg <jay.sorg@gmail.com>2013-12-03 16:24:30 -0800
commit2893a5c8c60ffdcac37f7629c51e1c8c79c2c6dd (patch)
tree82f4440f49d3c929f4edeb34c011551617d60927 /xorg/X11R7.6
parent1955e59a02afd65a7464bf03e29311af9a18ffe0 (diff)
downloadxrdp-proprietary-2893a5c8c60ffdcac37f7629c51e1c8c79c2c6dd.tar.gz
xrdp-proprietary-2893a5c8c60ffdcac37f7629c51e1c8c79c2c6dd.zip
X11rdp: call RRScreenSizeNotify when resizing desktop
Diffstat (limited to 'xorg/X11R7.6')
-rw-r--r--xorg/X11R7.6/rdp/rdprandr.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/xorg/X11R7.6/rdp/rdprandr.c b/xorg/X11R7.6/rdp/rdprandr.c
index 8b3eb582..660c9dfb 100644
--- a/xorg/X11R7.6/rdp/rdprandr.c
+++ b/xorg/X11R7.6/rdp/rdprandr.c
@@ -183,7 +183,8 @@ rdpRRScreenSetSize(ScreenPtr pScreen, CARD16 width, CARD16 height,
pScreen->root->drawable.width = width;
pScreen->root->drawable.height = height;
ResizeChildrenWinSize(pScreen->root, 0, 0, 0, 0);
- RRGetInfo(pScreen, 1);
+ //RRGetInfo(pScreen, 1);
+ RRScreenSizeNotify(pScreen);
rdpInvalidateArea(g_pScreen, 0, 0, g_rdpScreen.width, g_rdpScreen.height);
ErrorF(" screen resized to %dx%d\n",
pScreen->width, pScreen->height);
@@ -243,7 +244,7 @@ rdpRRModeDestroy(ScreenPtr pScreen, RRModePtr mode)
/******************************************************************************/
Bool
-rdpRROutputGetProperty(ScreenPtr pScreen, RROutputPtr output, Atom property)
+rdpRROutputGetProperty(ScreenPtr pScreen, RROutputPtr output, Atom property)
{
ErrorF("rdpRROutputGetProperty:\n");
return TRUE;