mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-08 13:38:05 +02:00
shell: Fix crash when an input panel is hiding
Set the geometry.dirty on the input panel surface before calling weston_surface_update_transform, so that the surface gets an output assigned.
This commit is contained in:
parent
4e363d21bb
commit
1428b8ccf7
1 changed files with 1 additions and 0 deletions
|
|
@ -2763,6 +2763,7 @@ show_input_panels(struct wl_listener *listener, void *data)
|
|||
ws = surface->surface;
|
||||
wl_list_insert(&shell->input_panel_layer.surface_list,
|
||||
&ws->layer_link);
|
||||
ws->geometry.dirty = 1;
|
||||
weston_surface_update_transform(ws);
|
||||
weston_surface_damage(ws);
|
||||
weston_slide_run(ws, ws->geometry.height, 0, NULL, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue