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:
Derek Foreman 2022-11-29 17:00:09 -06:00 committed by Pekka Paalanen
parent c448819b37
commit 71cf2783d6
1 changed files with 1 additions and 0 deletions

View File

@ -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)) { if (wl_list_empty(&ev->layer_link.link)) {
weston_layer_entry_insert(&layer->view_list, &ev->layer_link); weston_layer_entry_insert(&layer->view_list, &ev->layer_link);
weston_view_geometry_dirty(ev);
weston_compositor_schedule_repaint(ev->surface->compositor); weston_compositor_schedule_repaint(ev->surface->compositor);
} }
} }