Introduction
Introduction Statistics Contact Development Disclaimer Help
trenamed domax into ismax - dwm - [fork] customized build of dwm, the dynamic w…
git clone git://src.adamsgaard.dk/dwm
Log
Files
Refs
README
LICENSE
---
commit 6c8618f5021783d51034113d32655d2676611176
parent 9189f7a12dce4e3b38341e0704cca257994ab2ba
Author: Anselm R Garbe <[email protected]>
Date: Mon, 26 May 2008 10:13:51 +0100
renamed domax into ismax
Diffstat:
M dwm.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/dwm.c b/dwm.c
t@@ -212,7 +212,7 @@ void (*handler[LASTEvent]) (XEvent *) = {
[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 */
t@@ -273,7 +273,7 @@ arrange(void) {
}
focus(NULL);
- if(lt->arrange && !domax)
+ if(lt->arrange && !ismax)
lt->arrange();
restack();
}
t@@ -328,7 +328,7 @@ buttonpress(XEvent *e) {
}
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);
t@@ -500,7 +500,7 @@ drawbar(void) {
}
if(blw > 0) {
dc.w = blw;
- drawtext(lt->symbol, dc.norm, domax);
+ drawtext(lt->symbol, dc.norm, ismax);
x = dc.x + dc.w;
}
else
t@@ -629,7 +629,7 @@ focus(Client *c) {
}
sel = c;
if(c) {
- if(domax) {
+ if(ismax) {
XMoveResizeWindow(dpy, c->win, wx, wy, ww - 2 * c->bw,…
c->ismax = True;
}
t@@ -1194,9 +1194,9 @@ restack(void) {
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)
t@@ -1512,7 +1512,7 @@ togglelayout(const void *arg) {
void
togglemax(const void *arg) {
- domax = !domax;
+ ismax = !ismax;
arrange();
}
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.