mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-08 18:18:05 +02:00
Only set escape handler on window if it's open
This commit is contained in:
parent
6b9011d164
commit
9b9cc47c10
1 changed files with 3 additions and 4 deletions
|
|
@ -468,11 +468,10 @@ add_windows_to_boot_splash (state_t *state,
|
|||
{
|
||||
ply_trace ("adding window to boot splash");
|
||||
ply_boot_splash_add_window (splash, window);
|
||||
ply_trace ("listening for escape key");
|
||||
ply_window_set_escape_handler (window, (ply_window_escape_handler_t)
|
||||
on_escape_pressed, state);
|
||||
}
|
||||
|
||||
ply_trace ("listening for escape key");
|
||||
ply_window_set_escape_handler (window, (ply_window_escape_handler_t)
|
||||
on_escape_pressed, state);
|
||||
node = next_node;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue