dwm.c
changeset 1239 e7f93f1f63ba
parent 1238 70a2c5f7c716
child 1240 3a7c590338b3
--- a/dwm.c	Mon May 26 10:10:33 2008 +0100
+++ b/dwm.c	Mon May 26 10:13:51 2008 +0100
@@ -212,7 +212,7 @@
 	[UnmapNotify] = unmapnotify
 };
 Atom wmatom[WMLast], netatom[NetLast];
-Bool domax = False;
+Bool ismax = False;
 Bool otherwm, readin;
 Bool running = True;
 uint tagset[] = {1, 1}; /* after start, first tag is selected */
@@ -273,7 +273,7 @@
 		}
 
 	focus(NULL);
-	if(lt->arrange && !domax)
+	if(lt->arrange && !ismax)
 		lt->arrange();
 	restack();
 }
@@ -328,7 +328,7 @@
 	}
 	else if((c = getclient(ev->window))) {
 		focus(c);
-		if(CLEANMASK(ev->state) != MODKEY || domax)
+		if(CLEANMASK(ev->state) != MODKEY || ismax)
 			return;
 		if(ev->button == Button1)
 			movemouse(c);
@@ -500,7 +500,7 @@
 	}
 	if(blw > 0) {
 		dc.w = blw;
-		drawtext(lt->symbol, dc.norm, domax);
+		drawtext(lt->symbol, dc.norm, ismax);
 		x = dc.x + dc.w;
 	}
 	else
@@ -629,7 +629,7 @@
 	}
 	sel = c;
 	if(c) {
-		if(domax) {
+		if(ismax) {
 			XMoveResizeWindow(dpy, c->win, wx, wy, ww - 2 * c->bw, wh - 2 * c->bw);
 			c->ismax = True;
 		}
@@ -1194,9 +1194,9 @@
 	drawbar();
 	if(!sel)
 		return;
-	if(domax || sel->isfloating || !lt->arrange)
+	if(ismax || sel->isfloating || !lt->arrange)
 		XRaiseWindow(dpy, sel->win);
-	if(!domax && lt->arrange) {
+	if(!ismax && lt->arrange) {
 		wc.stack_mode = Below;
 		wc.sibling = barwin;
 		for(c = stack; c; c = c->snext)
@@ -1512,7 +1512,7 @@
 
 void
 togglemax(const void *arg) {
-	domax = !domax;
+	ismax = !ismax;
 	arrange();
 }