diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-10-25 02:05:44 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-10-25 02:05:44 +0200 |
commit | c38cd508057ab0abda846ed13786d56d627db7e2 (patch) | |
tree | 11a540f2c176dcb08b9e28bef65a13176c494628 /sys/src/cmd/rio/fsys.c | |
parent | 88486c75292e2138ebe861ca0130503c21d2f110 (diff) |
rio: dont serve a kbd file per window when we didnt got one from the environment
9vx doesnt provide a /dev/kbd file and rio faking one
up causes problems with vncv. (issue #223)
Diffstat (limited to 'sys/src/cmd/rio/fsys.c')
-rw-r--r-- | sys/src/cmd/rio/fsys.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/src/cmd/rio/fsys.c b/sys/src/cmd/rio/fsys.c index b0ae83b5e..94a35442f 100644 --- a/sys/src/cmd/rio/fsys.c +++ b/sys/src/cmd/rio/fsys.c @@ -365,6 +365,8 @@ skipdir(char *name) return 1; if(gotscreen && strcmp(name, "screen")==0) return 1; + if(!servekbd && strcmp(name, "kbd")==0) + return 1; return 0; } |