diff options
Diffstat (limited to 'console-client/pc-mouse.c')
-rw-r--r-- | console-client/pc-mouse.c | 3 |
1 files changed, 1 insertions, 2 deletions
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); |