X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/7d4a5e654c5421411f1d66360d594285d462d77f..6499fc4f938eb7e61ab3e25df3904db9c890c693:/main.c?ds=sidebyside 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);