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:
Kristian Høgsberg 2013-10-30 15:49:45 -07:00
parent 529a81a898
commit aa2ee8bdf6

View file

@ -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;
}