Add support for user-level 9P servers/clients and various bug fixes to go with them.
This commit is contained in:
parent
ac244f8d28
commit
32f69c36e0
60 changed files with 965 additions and 485 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue