shell: Create view for lock surface
Nothing created the view for the lock surface and weston would crash when trying to display it. https://bugs.freedesktop.org/show_bug.cgi?id=70873
This commit is contained in:
@@ -2828,6 +2828,7 @@ desktop_shell_set_lock_surface(struct wl_client *client,
|
|||||||
wl_signal_add(&surface->destroy_signal,
|
wl_signal_add(&surface->destroy_signal,
|
||||||
&shell->lock_surface_listener);
|
&shell->lock_surface_listener);
|
||||||
|
|
||||||
|
weston_view_create(surface);
|
||||||
surface->configure = lock_surface_configure;
|
surface->configure = lock_surface_configure;
|
||||||
surface->configure_private = shell;
|
surface->configure_private = shell;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user