diff options
author | rsc <devnull@localhost> | 2004-04-21 17:52:46 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-04-21 17:52:46 +0000 |
commit | cdd61ab0aee825e93688ae5d2cfb86f14baad858 (patch) | |
tree | 57ce9999b2ce1b88727ac59bac1e8db625dbc3ec /src/libdraw | |
parent | a3a83c9e5f87783b6f171c1ae3e694a26bb262f8 (diff) | |
download | plan9port-cdd61ab0aee825e93688ae5d2cfb86f14baad858.tar.gz plan9port-cdd61ab0aee825e93688ae5d2cfb86f14baad858.tar.bz2 plan9port-cdd61ab0aee825e93688ae5d2cfb86f14baad858.zip |
take out the debugging prints i just accidentally checked in.
Diffstat (limited to 'src/libdraw')
-rw-r--r-- | src/libdraw/x11-keyboard.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/libdraw/x11-keyboard.c b/src/libdraw/x11-keyboard.c index ff35c833..08d6f086 100644 --- a/src/libdraw/x11-keyboard.c +++ b/src/libdraw/x11-keyboard.c @@ -45,22 +45,16 @@ _ioproc(void *arg) fd = XConnectionNumber(_x.kbdcon); XSelectInput(_x.kbdcon, _x.drawable, KeyPressMask); for(;;){ - fprint(2, "x1 kc->c %p\n", kc->c); while(XCheckWindowEvent(_x.kbdcon, _x.drawable, KeyPressMask, &xevent) == False){ - fprint(2, "x2 kc->c %p\n", kc->c); threadfdwait(fd, 'r'); - fprint(2, "x3 kc->c %p\n", kc->c); } switch(xevent.type){ case KeyPress: - fprint(2, "x4 kc->c %p\n", kc->c); i = _xtoplan9kbd(&xevent); - fprint(2, "x5 kc->c %p\n", kc->c); if(i == -1) continue; r = i; send(kc->c, &r); - fprint(2, "x6 kc->c %p\n", kc->c); while((i=_xtoplan9kbd(nil)) >= 0){ r = i; send(kc->c, &r); |