From 32f69c36e0eec1227934bbd34854bfebd88686f2 Mon Sep 17 00:00:00 2001 From: rsc Date: Thu, 11 Dec 2003 17:48:38 +0000 Subject: Add support for user-level 9P servers/clients and various bug fixes to go with them. --- src/libdraw/x11-keyboard.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libdraw/x11-keyboard.c') diff --git a/src/libdraw/x11-keyboard.c b/src/libdraw/x11-keyboard.c index 443074e9..676027e3 100644 --- a/src/libdraw/x11-keyboard.c +++ b/src/libdraw/x11-keyboard.c @@ -46,12 +46,12 @@ _ioproc(void *arg) XWindowEvent(_x.kbdcon, _x.drawable, KeyPressMask, &xevent); switch(xevent.type){ case KeyPress: - i = xtoplan9kbd(&xevent); + i = _xtoplan9kbd(&xevent); if(i == -1) continue; r = i; send(kc->c, &r); - while((i=xtoplan9kbd(nil)) >= 0){ + while((i=_xtoplan9kbd(nil)) >= 0){ r = i; send(kc->c, &r); } -- cgit v1.2.3