Commit 0852aa52 authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

always notify on size changes

this ensures that randr updates its private structures
parent 1923f49d
......@@ -3675,7 +3675,6 @@ RRModePtr nxagentRRCustomMode = NULL;
*/
void nxagentAdjustCustomMode(ScreenPtr pScreen)
{
int doNotify = TRUE;
rrScrPrivPtr pScrPriv = rrGetScrPriv(pScreen);
RROutputPtr output;
......@@ -3735,8 +3734,6 @@ void nxagentAdjustCustomMode(ScreenPtr pScreen)
RRCrtcSet(crtc, nxagentRRCustomMode, 0, 0, RR_Rotate_0, 1, &output);
RROutputChanged(output, 1);
doNotify = FALSE;
}
pScrPriv -> lastSetTime = currentTime;
......@@ -3745,10 +3742,7 @@ void nxagentAdjustCustomMode(ScreenPtr pScreen)
pScrPriv->configChanged = 1;
} /* if (pScrPriv) */
if (doNotify)
{
RRScreenSizeNotify(pScreen);
}
RRScreenSizeNotify(pScreen);
}
int nxagentChangeScreenConfig(int screen, int width, int height, int mmWidth, int mmHeight)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment