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:
parent
43a7bb3c92
commit
f1bd82552b
|
@ -567,6 +567,7 @@ ephyrRandRSetConfig(ScreenPtr pScreen,
|
||||||
if (wasEnabled)
|
if (wasEnabled)
|
||||||
KdEnableScreen(pScreen);
|
KdEnableScreen(pScreen);
|
||||||
|
|
||||||
|
RRGetInfo(pScreen, TRUE);
|
||||||
RRScreenSizeNotify(pScreen);
|
RRScreenSizeNotify(pScreen);
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
Loading…
Reference in New Issue