Xinqi Bao's Git
projects
/
dwm.git
/ commitdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
|
inline
| side by side (parent:
fde58d5
)
applied nibbles fixes, slightly modified
author
Anselm R Garbe <
[email protected]
>
Thu, 29 May 2008 17:42:53 +0000
(18:42 +0100)
committer
Anselm R Garbe <
[email protected]
>
Thu, 29 May 2008 17:42:53 +0000
(18:42 +0100)
dwm.c
patch
|
blob
|
history
diff --git
a/dwm.c
b/dwm.c
index
9746c1d
..
2851929
100644
(file)
--- a/
dwm.c
+++ b/
dwm.c
@@
-267,7
+267,7
@@
arrange(void) {
XMoveResizeWindow(dpy, c->win, wx, wy, ww - 2 * c->bw, wh - 2 * c->bw);
c->ismoved = True;
}
XMoveResizeWindow(dpy, c->win, wx, wy, ww - 2 * c->bw, wh - 2 * c->bw);
c->ismoved = True;
}
- else if(!lt->arrange || c->isfloating)
+ else if(!lt->arrange ||
ismax ||
c->isfloating)
resize(c, c->x, c->y, c->w, c->h, True);
c->isbanned = False;
}
resize(c, c->x, c->y, c->w, c->h, True);
c->isbanned = False;
}
@@
-1719,7
+1719,7
@@
void
zoom(const void *arg) {
Client *c = sel;
zoom(const void *arg) {
Client *c = sel;
- if(
!lt->arrange || sel->isfloating
)
+ if(
ismax || !lt->arrange || (sel && sel->isfloating)
)
return;
if(c == nexttiled(clients))
if(!c || !(c = nexttiled(c->next)))
return;
if(c == nexttiled(clients))
if(!c || !(c = nexttiled(c->next)))