about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2008-05-29 18:42:53 +0100
committerAnselm R Garbe <garbeam@gmail.com>2008-05-29 18:42:53 +0100
commit75690c808dbf31d459d6e53ecc4c8b1542ed39fe (patch)
tree9fa416e09af81c8f8f1ad7088f810422b4548bf8
parentfde58d5e637d700981eaed69d172d3dbfcaee215 (diff)
downloaddwm-75690c808dbf31d459d6e53ecc4c8b1542ed39fe.tar.gz
applied nibbles fixes, slightly modified
-rw-r--r--dwm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dwm.c b/dwm.c
index 9746c1d..2851929 100644
--- 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;
 			}
-			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;
 		}
@@ -1719,7 +1719,7 @@ void
 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)))
_ext.py?h=v1.4.2&id=11d09d02d3168fd6e264de9a5f649bcb6d95af95'>11d09d02 ^
dc437e3b ^






64649898 ^
5a087b16 ^

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145