mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-26 08:50:05 +01:00
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@emersion.fr>
This commit is contained in:
parent
0006aecba0
commit
9141196d31
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue