diff options
Diffstat (limited to 'src/libdraw')
-rw-r--r-- | src/libdraw/x11-itrans.c | 3 | ||||
-rw-r--r-- | src/libdraw/x11-keyboard.c | 2 | ||||
-rw-r--r-- | src/libdraw/x11-mouse.c | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/src/libdraw/x11-itrans.c b/src/libdraw/x11-itrans.c index f1c72ee9..8b1c1376 100644 --- a/src/libdraw/x11-itrans.c +++ b/src/libdraw/x11-itrans.c @@ -21,7 +21,8 @@ __xtoplan9kbd(XEvent *e) if(e->xany.type != KeyPress) return -1; - needstack(20*1024); /* X has some *huge* buffers in openobject */ + needstack(64*1024); /* X has some *huge* buffers in openobject */ + /* and they're even bigger on SuSE */ XLookupString((XKeyEvent*)e,NULL,0,&k,NULL); if(k == XK_Multi_key || k == NoSymbol) return -1; diff --git a/src/libdraw/x11-keyboard.c b/src/libdraw/x11-keyboard.c index 1a4d0a3b..77fa78ba 100644 --- a/src/libdraw/x11-keyboard.c +++ b/src/libdraw/x11-keyboard.c @@ -72,7 +72,7 @@ initkeyboard(char *file) return nil; kc->c = chancreate(sizeof(Rune), 20); chansetname(kc->c, "kbdc"); - proccreate(_ioproc, kc, 32768); + proccreate(_ioproc, kc, 256*1024); return kc; } diff --git a/src/libdraw/x11-mouse.c b/src/libdraw/x11-mouse.c index 936b5628..1e775758 100644 --- a/src/libdraw/x11-mouse.c +++ b/src/libdraw/x11-mouse.c @@ -141,7 +141,7 @@ initmouse(char *file, Image *i) chansetname(mc->c, "mousec"); mc->resizec = chancreate(sizeof(int), 2); chansetname(mc->resizec, "resizec"); - proccreate(_ioproc, mc, 32768); + proccreate(_ioproc, mc, 256*1024); return mc; } |