X11rdp: call RRScreenSizeNotify when resizing desktop
This commit is contained in:
parent
1955e59a02
commit
2893a5c8c6
@ -183,7 +183,8 @@ rdpRRScreenSetSize(ScreenPtr pScreen, CARD16 width, CARD16 height,
|
|||||||
pScreen->root->drawable.width = width;
|
pScreen->root->drawable.width = width;
|
||||||
pScreen->root->drawable.height = height;
|
pScreen->root->drawable.height = height;
|
||||||
ResizeChildrenWinSize(pScreen->root, 0, 0, 0, 0);
|
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);
|
rdpInvalidateArea(g_pScreen, 0, 0, g_rdpScreen.width, g_rdpScreen.height);
|
||||||
ErrorF(" screen resized to %dx%d\n",
|
ErrorF(" screen resized to %dx%d\n",
|
||||||
pScreen->width, pScreen->height);
|
pScreen->width, pScreen->height);
|
||||||
@ -243,7 +244,7 @@ rdpRRModeDestroy(ScreenPtr pScreen, RRModePtr mode)
|
|||||||
|
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
Bool
|
Bool
|
||||||
rdpRROutputGetProperty(ScreenPtr pScreen, RROutputPtr output, Atom property)
|
rdpRROutputGetProperty(ScreenPtr pScreen, RROutputPtr output, Atom property)
|
||||||
{
|
{
|
||||||
ErrorF("rdpRROutputGetProperty:\n");
|
ErrorF("rdpRROutputGetProperty:\n");
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
Loading…
Reference in New Issue
Block a user