- static time_t reshape_time = 0;
- time_t now = time((time_t) 0);
- if (reshape_time != now) /* only poll for reshape once a second */
- {
- reshape_time = now;
- XGetWindowAttributes (dpy, window, &mi->xgwa);
- reshape(sc, MI_WIDTH(mi), MI_HEIGHT(mi));
- }
-