From f1bd82552beff86bbbf8ce585273cb6c80f9cdfc Mon Sep 17 00:00:00 2001 From: Alexander Volkov Date: Mon, 15 Apr 2019 15:07:29 +0300 Subject: [PATCH] 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. --- hw/kdrive/ephyr/ephyr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/kdrive/ephyr/ephyr.c b/hw/kdrive/ephyr/ephyr.c index 8b90584be..c28f67a62 100644 --- a/hw/kdrive/ephyr/ephyr.c +++ b/hw/kdrive/ephyr/ephyr.c @@ -567,6 +567,7 @@ ephyrRandRSetConfig(ScreenPtr pScreen, if (wasEnabled) KdEnableScreen(pScreen); + RRGetInfo(pScreen, TRUE); RRScreenSizeNotify(pScreen); return TRUE;