desktop-shell: fix the unlock dialog decorations
The decorations were not responding, could not move or resize the dialog, and it painted with a black shade. When the dialog is created, schedule a resize instead of a repaint. The resize will initialise the widget tree, and let everything draw and work as it should. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
This commit is contained in:
parent
08fcbf0f3d
commit
40e49ac7b5
@ -530,7 +530,7 @@ unlock_dialog_create(struct desktop *desktop)
|
||||
desktop_shell_set_lock_surface(desktop->shell,
|
||||
window_get_wl_shell_surface(dialog->window));
|
||||
|
||||
window_schedule_redraw(dialog->window);
|
||||
window_schedule_resize(dialog->window, 260, 230);
|
||||
|
||||
return dialog;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user