summaryrefslogtreecommitdiff
path: root/console-client
diff options
context:
space:
mode:
Diffstat (limited to 'console-client')
-rw-r--r--console-client/kbd-repeat.c3
-rw-r--r--console-client/pc-mouse.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/console-client/kbd-repeat.c b/console-client/kbd-repeat.c
index 4bf9268e..b9000b22 100644
--- a/console-client/kbd-repeat.c
+++ b/console-client/kbd-repeat.c
@@ -81,6 +81,7 @@ kbd_repeat_key (kd_event *key)
memcpy (ev, key, sizeof (kd_event));
condition_broadcast (&kbdbuf.readcond);
+ condition_broadcast (&select_alert);
mutex_unlock (&global_lock);
}
@@ -231,9 +232,7 @@ kbd_setrepeater (const char *nodename, consnode_t *cn)
condition_init (&kbdbuf.readcond);
condition_init (&kbdbuf.writecond);
-
condition_init (&select_alert);
- condition_implies (&kbdbuf.readcond, &select_alert);
console_register_consnode (*cn);
diff --git a/console-client/pc-mouse.c b/console-client/pc-mouse.c
index cf8987bf..8a9009fb 100644
--- a/console-client/pc-mouse.c
+++ b/console-client/pc-mouse.c
@@ -105,6 +105,7 @@ repeat_event (kd_event *evt)
memcpy (ev, evt, sizeof (kd_event));
condition_broadcast (&mousebuf.readcond);
+ condition_broadcast (&select_alert);
mutex_unlock (&global_lock);
}
@@ -499,9 +500,7 @@ setrepeater (const char *nodename)
condition_init (&mousebuf.readcond);
condition_init (&mousebuf.writecond);
-
condition_init (&select_alert);
- condition_implies (&mousebuf.readcond, &select_alert);
console_register_consnode (cnode);