plymouth/plymouth-crash-avoid-on-keyboard-remove-input-handler.patch

21 lines
907 B
Diff
Raw Normal View History

diff -Nura plymouth-0.9.5~git20220719.9e72df3/src/libply-splash-core/ply-keyboard.c plymouth-0.9.5~git20220719.9e72df3_new/src/libply-splash-core/ply-keyboard.c
--- plymouth-0.9.5~git20220719.9e72df3/src/libply-splash-core/ply-keyboard.c 2022-04-15 16:39:24.000000000 +0800
+++ plymouth-0.9.5~git20220719.9e72df3_new/src/libply-splash-core/ply-keyboard.c 2022-07-29 14:19:35.951346564 +0800
@@ -522,6 +522,8 @@
assert (keyboard != NULL);
+ if (ply_list_get_length(keyboard->keyboard_input_handler_list))
+ {
for (node = ply_list_get_first_node (keyboard->keyboard_input_handler_list);
node; node = ply_list_get_next_node (keyboard->keyboard_input_handler_list, node)) {
ply_keyboard_closure_t *closure = ply_list_node_get_data (node);
@@ -531,6 +533,7 @@
return;
}
}
+ }
}
void