--- display.c.orig +++ display.c @@ -1,4 +1,6 @@ #include +#include +#include #include #include #include @@ -145,7 +147,7 @@ int occ,x,y; if (currdpy != dpy && !botmode) - return; + return(0); wipemap(currdpy, currbamp, currgc, currscr, currwin); for (y=0;y!=ysize;y++) for (x=0;x!=xsize;x++) @@ -386,7 +388,7 @@ XFlush(currdpy); } XNextEvent(dpy,&event); - return; + return(0); } }