projects
/
suckless
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0982e47
)
applied sanders max size fix
author
arg@mig29
<unknown>
Fri, 27 Oct 2006 10:05:47 +0000
(12:05 +0200)
committer
arg@mig29
<unknown>
Fri, 27 Oct 2006 10:05:47 +0000
(12:05 +0200)
client.c
patch
|
blob
|
history
view.c
patch
|
blob
|
history
diff --git
a/client.c
b/client.c
index 988d3caff95181b956992a4743b30534ecac8934..d04692d06cb98e7e79d1342969a724a9874dac20 100644
(file)
--- a/
client.c
+++ b/
client.c
@@
-233,7
+233,7
@@
manage(Window w, XWindowAttributes *wa) {
settags(c, getclient(trans));
if(!c->isfloat)
c->isfloat = trans
- || (c->maxw && c->minw &&
+ || (c->maxw && c->minw &&
c->maxh && c->minh &&
c->maxw == c->minw && c->maxh == c->minh);
resizetitle(c);
if(clients)
diff --git
a/view.c
b/view.c
index daf07114dde297613ab6899cc22e3c97e0890fa2..facbb4cbbf7094fae81274ec3aa6f00383a7df59 100644
(file)
--- a/
view.c
+++ b/
view.c
@@
-44,6
+44,10
@@
reorder(void) {
static void
togglemax(Client *c) {
XEvent ev;
+
+ if (x->maxw && x->minw && x->maxh && x->minh &&
+ x->maxw == x->minw && x->maxh == x->minh)
+ return;
if((c->ismax = !c->ismax)) {
c->rx = c->x; c->x = sx;