From 16a709666981e77a00a88a87b286b586ac77ffdc Mon Sep 17 00:00:00 2001 From: rsc Date: Sun, 23 Nov 2003 18:15:43 +0000 Subject: Add drawsetlabel(Display*, char*). Turn window destruction into "hangup" note. Fix (?) snarf buffer management. Add latin1 keyboard translation. --- src/libdraw/x11-keyboard.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/libdraw/x11-keyboard.c') 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; } } -- cgit v1.2.3