From db78975eab6a544453daccbea3d6ef05827c852b Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 19 Jul 2015 06:03:39 +0200 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/mds-kkbd.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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) -- cgit v1.2.3-70-g09d2