mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-24 11:41:58 +00:00
take out the debugging prints i just accidentally checked in.
This commit is contained in:
parent
a3a83c9e5f
commit
cdd61ab0ae
1 changed files with 0 additions and 6 deletions
|
@ -45,22 +45,16 @@ _ioproc(void *arg)
|
||||||
fd = XConnectionNumber(_x.kbdcon);
|
fd = XConnectionNumber(_x.kbdcon);
|
||||||
XSelectInput(_x.kbdcon, _x.drawable, KeyPressMask);
|
XSelectInput(_x.kbdcon, _x.drawable, KeyPressMask);
|
||||||
for(;;){
|
for(;;){
|
||||||
fprint(2, "x1 kc->c %p\n", kc->c);
|
|
||||||
while(XCheckWindowEvent(_x.kbdcon, _x.drawable, KeyPressMask, &xevent) == False){
|
while(XCheckWindowEvent(_x.kbdcon, _x.drawable, KeyPressMask, &xevent) == False){
|
||||||
fprint(2, "x2 kc->c %p\n", kc->c);
|
|
||||||
threadfdwait(fd, 'r');
|
threadfdwait(fd, 'r');
|
||||||
fprint(2, "x3 kc->c %p\n", kc->c);
|
|
||||||
}
|
}
|
||||||
switch(xevent.type){
|
switch(xevent.type){
|
||||||
case KeyPress:
|
case KeyPress:
|
||||||
fprint(2, "x4 kc->c %p\n", kc->c);
|
|
||||||
i = _xtoplan9kbd(&xevent);
|
i = _xtoplan9kbd(&xevent);
|
||||||
fprint(2, "x5 kc->c %p\n", kc->c);
|
|
||||||
if(i == -1)
|
if(i == -1)
|
||||||
continue;
|
continue;
|
||||||
r = i;
|
r = i;
|
||||||
send(kc->c, &r);
|
send(kc->c, &r);
|
||||||
fprint(2, "x6 kc->c %p\n", kc->c);
|
|
||||||
while((i=_xtoplan9kbd(nil)) >= 0){
|
while((i=_xtoplan9kbd(nil)) >= 0){
|
||||||
r = i;
|
r = i;
|
||||||
send(kc->c, &r);
|
send(kc->c, &r);
|
||||||
|
|
Loading…
Reference in a new issue