renamed domax into ismax
6c8618f5
1 file(s) · +8 −8
| 212 | 212 | [UnmapNotify] = unmapnotify |
|
| 213 | 213 | }; |
|
| 214 | 214 | Atom wmatom[WMLast], netatom[NetLast]; |
|
| 215 | - | Bool domax = False; |
|
| 215 | + | Bool ismax = False; |
|
| 216 | 216 | Bool otherwm, readin; |
|
| 217 | 217 | Bool running = True; |
|
| 218 | 218 | uint tagset[] = {1, 1}; /* after start, first tag is selected */ |
|
| 273 | 273 | } |
|
| 274 | 274 | ||
| 275 | 275 | focus(NULL); |
|
| 276 | - | if(lt->arrange && !domax) |
|
| 276 | + | if(lt->arrange && !ismax) |
|
| 277 | 277 | lt->arrange(); |
|
| 278 | 278 | restack(); |
|
| 279 | 279 | } |
|
| 328 | 328 | } |
|
| 329 | 329 | else if((c = getclient(ev->window))) { |
|
| 330 | 330 | focus(c); |
|
| 331 | - | if(CLEANMASK(ev->state) != MODKEY || domax) |
|
| 331 | + | if(CLEANMASK(ev->state) != MODKEY || ismax) |
|
| 332 | 332 | return; |
|
| 333 | 333 | if(ev->button == Button1) |
|
| 334 | 334 | movemouse(c); |
|
| 500 | 500 | } |
|
| 501 | 501 | if(blw > 0) { |
|
| 502 | 502 | dc.w = blw; |
|
| 503 | - | drawtext(lt->symbol, dc.norm, domax); |
|
| 503 | + | drawtext(lt->symbol, dc.norm, ismax); |
|
| 504 | 504 | x = dc.x + dc.w; |
|
| 505 | 505 | } |
|
| 506 | 506 | else |
|
| 629 | 629 | } |
|
| 630 | 630 | sel = c; |
|
| 631 | 631 | if(c) { |
|
| 632 | - | if(domax) { |
|
| 632 | + | if(ismax) { |
|
| 633 | 633 | XMoveResizeWindow(dpy, c->win, wx, wy, ww - 2 * c->bw, wh - 2 * c->bw); |
|
| 634 | 634 | c->ismax = True; |
|
| 635 | 635 | } |
|
| 1194 | 1194 | drawbar(); |
|
| 1195 | 1195 | if(!sel) |
|
| 1196 | 1196 | return; |
|
| 1197 | - | if(domax || sel->isfloating || !lt->arrange) |
|
| 1197 | + | if(ismax || sel->isfloating || !lt->arrange) |
|
| 1198 | 1198 | XRaiseWindow(dpy, sel->win); |
|
| 1199 | - | if(!domax && lt->arrange) { |
|
| 1199 | + | if(!ismax && lt->arrange) { |
|
| 1200 | 1200 | wc.stack_mode = Below; |
|
| 1201 | 1201 | wc.sibling = barwin; |
|
| 1202 | 1202 | for(c = stack; c; c = c->snext) |
|
| 1512 | 1512 | ||
| 1513 | 1513 | void |
|
| 1514 | 1514 | togglemax(const void *arg) { |
|
| 1515 | - | domax = !domax; |
|
| 1515 | + | ismax = !ismax; |
|
| 1516 | 1516 | arrange(); |
|
| 1517 | 1517 | } |
|
| 1518 | 1518 | ||