xserver: Branch 'master'
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Apr 12 07:41:56 UTC 2024
hw/xwayland/xwayland-window.c | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 385226bdaf0c3bc738c178697d6c72e0da2d1d15
Author: Olivier Fourdan <ofourdan at redhat.com>
Date: Thu Apr 11 15:46:37 2024 +0200
xwayland: Walk the regions' boxes
In xwl_source_validate(), the actual box wasn't updated, so we would
possibly copy several times the same first box.
Signed-off-by: Olivier Fourdan <ofourdan at redhat.com>
Reviewed-by: Michel Dänzer <mdaenzer at redhat.com>
Fixes: aa05f38f3 - xwayland: Add SourceValidate hook
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1485>
diff --git a/hw/xwayland/xwayland-window.c b/hw/xwayland/xwayland-window.c
index c0938b9e4..b111a1e4a 100644
--- a/hw/xwayland/xwayland-window.c
+++ b/hw/xwayland/xwayland-window.c
@@ -270,6 +270,7 @@ xwl_source_validate(DrawablePtr drawable, int x, int y, int width, int height,
pbox->x1, pbox->y1,
pbox->x2 - pbox->x1, pbox->y2 - pbox->y1,
pbox->x1, pbox->y1);
+ pbox++;
}
FreeScratchGC(pGC);
}
More information about the xorg-commit
mailing list