xserver: Branch 'master'
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Jul 7 13:46:18 UTC 2020
hw/xwayland/xwayland-present.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 9141196d3104ab37385c3e385deaa70c002dd184
Author: Michel Dänzer <mdaenzer at redhat.com>
Date: Tue Mar 17 12:58:12 2020 +0100
xwayland: Propagate damage x1/y1 coordinates in xwl_present_flip
This couldn't have worked correctly for non-0 x1/y1.
Noticed by inspection.
Reviewed-by: Simon Ser <contact at emersion.fr>
diff --git a/hw/xwayland/xwayland-present.c b/hw/xwayland/xwayland-present.c
index 181e923b9..06f7f54ed 100644
--- a/hw/xwayland/xwayland-present.c
+++ b/hw/xwayland/xwayland-present.c
@@ -493,7 +493,8 @@ xwl_present_flip(WindowPtr present_window,
/* Realign timer */
xwl_present_reset_timer(xwl_present_window);
- xwl_surface_damage(xwl_window->xwl_screen, xwl_window->surface, 0, 0,
+ xwl_surface_damage(xwl_window->xwl_screen, xwl_window->surface,
+ damage_box->x1, damage_box->y1,
damage_box->x2 - damage_box->x1,
damage_box->y2 - damage_box->y1);
More information about the xorg-commit
mailing list