We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44486f1 commit 61cadc8Copy full SHA for 61cadc8
src/platform/linux/linux_keyboard.c
@@ -214,7 +214,6 @@ static void LinuxKeybnoardThread(void *arg)
214
int key;
215
LCUI_TaskRec task = { 0 };
216
217
- keyboard.active = TRUE;
218
task.func = DispatchKeyboardEvent;
219
task.destroy_arg[0] = free;
220
while (keyboard.active) {
@@ -248,6 +247,7 @@ static int InitLinuxKeybord(void)
248
247
for (; i < len; ++i) {
249
signal(signals[i], on_signal);
250
}
+ keyboard.active = TRUE;
251
LCUIThread_Create(&keyboard.tid, LinuxKeybnoardThread, NULL);
252
Logger_Debug("[input] keyboard driver thread: %lld\n", keyboard.tid);
253
return 0;
0 commit comments