plymouth/plymouth-crash-avoid-on-keyboard-remove-input-handler.patch
Cliff Zhao 9fd2c2c911 Accepting request 1098640 from home:qzhao:branches:Base:System
- Update to 22.02.122+94.4bd41a3: * Port build system to Meson; * device-manager: Support kernels with CONFIG_VT=n; * Fix terminal crash; * terminal: Add API for flushing input buffer; * device-manager: Only wait for device timeout for framebuffer devices; * scripts: Update keymap-render script to handle xkb keymaps too; * drm: Add support for new /dev/input feature; * frame-buffer: Add support for new /dev/input feature; * src: Hide console text when splash is requested; * script: adds a new native GetCapslockState function to lib-plymouth;
- Add plymouth-adapts-xkbommon.patch: xkbommon in openSUSE install to a specify location, this modify to make plymouth adapt with it to build.
- Rebase plymouth-crash-avoid-on-keyboard-remove-input-handler.patch: To fit with the update.
- Rebase plymouth-disable-fedora-logo.patch: To fit with the update.
- Rebase plymouth-log-on-default.patch: To fit with the update.
- Update plymouth.spec: To fit with the update. Make plymouth use Tumbleweed/Leap's logo instead of upstream's.
- Drop plymouth-manpages.patch: openSUSE fix the problem in other side, "man 1 plymouth" and
  "man 8 plymouth" all works withouth this patch (bnc#871419).

OBS-URL: https://build.opensuse.org/request/show/1098640
OBS-URL: https://build.opensuse.org/package/show/Base:System/plymouth?expand=0&rev=362
2023-07-14 09:15:33 +00:00

28 lines
979 B
Diff

diff -Nura plymouth-22.02.122+180.b1d5aa9/src/libply-splash-core/ply-keyboard.c plymouth-22.02.122+180.b1d5aa9_new/src/libply-splash-core/ply-keyboard.c
--- plymouth-22.02.122+180.b1d5aa9/src/libply-splash-core/ply-keyboard.c 2023-06-08 10:49:58.000000000 +0800
+++ plymouth-22.02.122+180.b1d5aa9_new/src/libply-splash-core/ply-keyboard.c 2023-07-12 22:52:25.011378645 +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
@@ -666,4 +669,4 @@
}
return NULL;
-}
\ 文件尾没有换行符
+}