diff options
author | Jacob Moody <moody@posixcafe.org> | 2022-08-15 02:59:49 +0000 |
---|---|---|
committer | Jacob Moody <moody@posixcafe.org> | 2022-08-15 02:59:49 +0000 |
commit | 8906ad7c15744271d0f6a41ae2f590a8bc31bf21 (patch) | |
tree | ed459c7f4f912774921642a911949f75058f5d9e /sys/src/cmd/rio/wind.c | |
parent | 4df168d98fb7b73e50d702b70ceffcaddfe8203c (diff) |
rio: add /dev/kbdtap
Diffstat (limited to 'sys/src/cmd/rio/wind.c')
-rw-r--r-- | sys/src/cmd/rio/wind.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/src/cmd/rio/wind.c b/sys/src/cmd/rio/wind.c index b74f8b8b2..217e877c0 100644 --- a/sys/src/cmd/rio/wind.c +++ b/sys/src/cmd/rio/wind.c @@ -81,6 +81,7 @@ void wcurrent(Window *w) { Channel *c; + Tapmesg m; if(input == nil){ input = w; @@ -88,6 +89,9 @@ wcurrent(Window *w) } if(w == input) return; + m.type = Freset; + m.s = nil; + send(fromtap, &m); incref(input); c = chancreate(sizeof(Window*), 0); wsendctlmesg(input, Repaint, ZR, c); |