summaryrefslogtreecommitdiffstats
path: root/src/libdraw/x11-keyboard.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2003-11-23 18:15:43 +0000
committerrsc <devnull@localhost>2003-11-23 18:15:43 +0000
commit16a709666981e77a00a88a87b286b586ac77ffdc (patch)
tree7320f931d0cdfcb86fe07dba025b489e66ed5648 /src/libdraw/x11-keyboard.c
parent986b36bccd134726eea42f2cfabff2943d729ac4 (diff)
downloadplan9port-16a709666981e77a00a88a87b286b586ac77ffdc.tar.gz
plan9port-16a709666981e77a00a88a87b286b586ac77ffdc.zip
Add drawsetlabel(Display*, char*).
Turn window destruction into "hangup" note. Fix (?) snarf buffer management. Add latin1 keyboard translation.
Diffstat (limited to 'src/libdraw/x11-keyboard.c')
-rw-r--r--src/libdraw/x11-keyboard.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libdraw/x11-keyboard.c b/src/libdraw/x11-keyboard.c
index 92b57814..443074e9 100644
--- a/src/libdraw/x11-keyboard.c
+++ b/src/libdraw/x11-keyboard.c
@@ -51,6 +51,10 @@ _ioproc(void *arg)
continue;
r = i;
send(kc->c, &r);
+ while((i=xtoplan9kbd(nil)) >= 0){
+ r = i;
+ send(kc->c, &r);
+ }
break;
}
}