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:
parent
529a81a898
commit
aa2ee8bdf6
@ -2828,6 +2828,7 @@ desktop_shell_set_lock_surface(struct wl_client *client,
|
||||
wl_signal_add(&surface->destroy_signal,
|
||||
&shell->lock_surface_listener);
|
||||
|
||||
weston_view_create(surface);
|
||||
surface->configure = lock_surface_configure;
|
||||
surface->configure_private = shell;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user