ephyr: Send RRCrtcChangeNotify events on resize

After resizing Xephyr's window RRGetCrtcInfo returns the changed size,
but the RRCrtcChangeNotify event is not sent.
Call RRGetInfo(pScreen, TRUE) to update the current mode and send
notifications to clients.
This commit is contained in:
Alexander Volkov 2019-04-15 15:07:29 +03:00 committed by Matt Turner
parent 43a7bb3c92
commit f1bd82552b

View File

@ -567,6 +567,7 @@ ephyrRandRSetConfig(ScreenPtr pScreen,
if (wasEnabled)
KdEnableScreen(pScreen);
RRGetInfo(pScreen, TRUE);
RRScreenSizeNotify(pScreen);
return TRUE;