xserver: Branch 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Aug 31 23:49:07 UTC 2024


 hw/xnest/Events.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e1c47ad123b70e8ec8732788a08d1a1a2214bea8
Author: Enrico Weigelt, metux IT consult <info at metux.net>
Date:   Fri Aug 2 12:18:34 2024 +0200

    Xnest: fix broken exposure events
    
    Xnest fails to properly pass through expose events: the coordinates are
    miscalculated in xnestCollectExposures(), before miSendExposures() is called.
    
    Closes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1735
    Signed-off-by: Enrico Weigelt, metux IT consult <info at metux.net>
    Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1634>

diff --git a/hw/xnest/Events.c b/hw/xnest/Events.c
index 88db0d18f..67221c260 100644
--- a/hw/xnest/Events.c
+++ b/hw/xnest/Events.c
@@ -96,7 +96,7 @@ xnestCollectExposures(void)
 
             RegionInit(&Rgn, &Box, 1);
 
-            miSendExposures(pWin, &Rgn, Box.x2, Box.y2);
+            miSendExposures(pWin, &Rgn, Box.x1, Box.y1);
         }
     }
 }


More information about the xorg-commit mailing list