X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=main.c;h=985635432dda857dca745bf9d23a3d3c82d0c208;hb=26157e6973f240a9b5ee407b9d2d5eca9358844f;hp=d2da0c1317ef3f6ad0e5cdb08495df042690f521;hpb=7d4a5e654c5421411f1d66360d594285d462d77f;p=dwm.git diff --git a/main.c b/main.c index d2da0c1..9856354 100644 --- a/main.c +++ b/main.c @@ -19,11 +19,12 @@ char stext[1024]; Bool *seltag; -int screen, sx, sy, sw, sh, bx, by, bw, bh, mw; -unsigned int ntags, numlockmask, modew; +int bx, by, bw, bh, bmw, mw, screen, sx, sy, sw, sh; +unsigned int ntags, numlockmask; Atom wmatom[WMLast], netatom[NetLast]; Bool running = True; Bool issel = True; +Bool maximized = False; Client *clients = NULL; Client *sel = NULL; Cursor cursor[CurLast]; @@ -129,7 +130,7 @@ setup() dc.status[ColFG] = getcolor(STATUSFGCOLOR); setfont(FONT); - modew = textw(FLOATSYMBOL) > textw(TILESYMBOL) ? textw(FLOATSYMBOL) : textw(TILESYMBOL); + bmw = textw(FLOATSYMBOL) > textw(TILESYMBOL) ? textw(FLOATSYMBOL) : textw(TILESYMBOL); sx = sy = 0; sw = DisplayWidth(dpy, screen); sh = DisplayHeight(dpy, screen);