Bool running = True;
Bool issel;
-char stext[1024];
int tsel = Tdev; /* default tag */
-int screen, sx, sy, sw, sh, th;
+int screen, sx, sy, sw, sh, mw, th;
DC dc = {0};
Client *clients = NULL;
-Client *stack = NULL;
+Client *sel = NULL;
static Bool other_wm_running;
static const char version[] =
static void
cleanup()
{
- while(clients)
- unmanage(clients);
+ while(sel) {
+ resize(sel, True);
+ unmanage(sel);
+ }
XSetInputFocus(dpy, PointerRoot, RevertToPointerRoot, CurrentTime);
}
void
-quit(void *aux)
+quit(Arg *arg)
{
running = False;
}
sx = sy = 0;
sw = DisplayWidth(dpy, screen);
sh = DisplayHeight(dpy, screen);
+ mw = (sw * MASTERW) / 100;
issel = XQueryPointer(dpy, root, &w, &w, &i, &i, &i, &i, &mask);
XSetErrorHandler(0);