aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-kkbd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mds-kkbd.c')
-rw-r--r--src/mds-kkbd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mds-kkbd.c b/src/mds-kkbd.c
index 9ffa913..fcfa07c 100644
--- a/src/mds-kkbd.c
+++ b/src/mds-kkbd.c
@@ -407,8 +407,10 @@ int master_loop(void)
int rc = 1, joined = 0, r;
void* kbd_ret;
+ /* Start thread that reads input from the keyboard. */
fail_if ((errno = pthread_create(&kbd_thread, NULL, keyboard_loop, NULL)));
+ /* Listen for messages. */
while (!reexecing && !terminating)
{
if (danger)