shell: Make the lock surface just a plain wl_surface too
diff --git a/clients/desktop-shell.c b/clients/desktop-shell.c
index ed6ea40..cc1028f 100644
--- a/clients/desktop-shell.c
+++ b/clients/desktop-shell.c
@@ -669,10 +669,9 @@
return NULL;
memset(dialog, 0, sizeof *dialog);
- dialog->window = window_create(display);
+ dialog->window = window_create_custom(display);
dialog->widget = frame_create(dialog->window, dialog);
window_set_title(dialog->window, "Unlock your desktop");
- window_set_custom(dialog->window);
window_set_user_data(dialog->window, dialog);
window_set_keyboard_focus_handler(dialog->window,
@@ -688,7 +687,7 @@
unlock_dialog_button_handler);
desktop_shell_set_lock_surface(desktop->shell,
- window_get_wl_shell_surface(dialog->window));
+ window_get_wl_surface(dialog->window));
window_schedule_resize(dialog->window, 260, 230);