desktop-shell: Fix stuck panel
Ever since d611ab24
the panel surface's frame callback gets lost and the
panel stops updating after its first draw.
Fix this by dirtying the geometry in configure_static_view() after it
changes the layer list, since the layer list is considered part of
geometry.
Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
This commit is contained in:
parent
c448819b37
commit
71cf2783d6
@ -2502,6 +2502,7 @@ configure_static_view(struct weston_view *ev, struct weston_layer *layer, int x,
|
||||
|
||||
if (wl_list_empty(&ev->layer_link.link)) {
|
||||
weston_layer_entry_insert(&layer->view_list, &ev->layer_link);
|
||||
weston_view_geometry_dirty(ev);
|
||||
weston_compositor_schedule_repaint(ev->surface->compositor);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user