mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-08 11:19:17 +02:00
[x11] Force refresh area to start at 0,0
The x and y values, in area element, were used to determine the position of the window on the screen. With the x and y not at 0, the full redraw not working correctly on the second head.
This commit is contained in:
parent
57fb558046
commit
d876853867
1 changed files with 7 additions and 1 deletions
|
|
@ -378,10 +378,16 @@ ply_renderer_head_redraw (ply_renderer_backend_t *backend,
|
|||
ply_renderer_head_t *head)
|
||||
{
|
||||
ply_region_t *region;
|
||||
ply_rectangle_t area;
|
||||
|
||||
area.x = 0;
|
||||
area.y = 0;
|
||||
area.width = head->area.width;
|
||||
area.height = head->area.height;
|
||||
|
||||
region = ply_pixel_buffer_get_updated_areas (head->pixel_buffer);
|
||||
|
||||
ply_region_add_rectangle (region, &head->area);
|
||||
ply_region_add_rectangle (region, &area);
|
||||
|
||||
flush_head (backend, head);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue