desktop-shell: Unlock dialog needs to be a custom window
authorBenjamin Franzke <benjaminfranzke@googlemail.com>
Wed, 23 Nov 2011 18:35:07 +0000 (19:35 +0100)
committerBenjamin Franzke <benjaminfranzke@googlemail.com>
Wed, 23 Nov 2011 18:36:28 +0000 (19:36 +0100)
Since set_toplevel would overwrite set_lock_surface.

clients/desktop-shell.c

index 5dac3ec..5b8da64 100644 (file)
@@ -410,6 +410,7 @@ unlock_dialog_create(struct desktop *desktop)
 
        dialog->window = window_create(display, 260, 230);
        window_set_title(dialog->window, "Unlock your desktop");
+       window_set_custom(dialog->window);
 
        window_set_user_data(dialog->window, dialog);
        window_set_redraw_handler(dialog->window, unlock_dialog_redraw_handler);