xserver: Branch 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sun Dec 17 19:28:10 UTC 2023


 hw/kdrive/ephyr/ephyr.c |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit f1bd82552beff86bbbf8ce585273cb6c80f9cdfc
Author: Alexander Volkov <a.volkov at rusbitech.ru>
Date:   Mon Apr 15 15:07:29 2019 +0300

    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.

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;


More information about the xorg-commit mailing list