make stack requirements more explicit.

This commit is contained in:
rsc 2004-04-21 22:46:39 +00:00
parent 3151bc58b8
commit 63b6732301
3 changed files with 3 additions and 2 deletions

View file

@ -21,6 +21,7 @@ __xtoplan9kbd(XEvent *e)
if(e->xany.type != KeyPress)
return -1;
needstack(20*1024); /* X has some *huge* buffers in openobject */
XLookupString((XKeyEvent*)e,NULL,0,&k,NULL);
if(k == XK_Multi_key || k == NoSymbol)
return -1;