aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-07-19 06:03:39 +0200
committerMattias Andrée <maandree@operamail.com>2015-07-19 06:03:39 +0200
commitdb78975eab6a544453daccbea3d6ef05827c852b (patch)
treed64140a265dc29658d326d260a7597d9eabb3be6
parentm doc (diff)
downloadmds-db78975eab6a544453daccbea3d6ef05827c852b.tar.gz
mds-db78975eab6a544453daccbea3d6ef05827c852b.tar.bz2
mds-db78975eab6a544453daccbea3d6ef05827c852b.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-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)