about summary refs log tree commit diff stats
path: root/dwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index 020adb3..48e0dd1 100644
--- a/dwm.c
+++ b/dwm.c
@@ -374,7 +374,8 @@ buttonpress(XEvent *e) {
 		else if(ev->button == Button2) {
 			if((floating != m->layout->arrange) && c->isfloating)
 				togglefloating(NULL);
-			zoom(NULL);
+			else
+				zoom(NULL);
 		}
 		else if(ev->button == Button3 && !c->isfixed) {
 			restack();
aram <vc@akkartik.com> 2020-10-05 11:00:05 -0700 committer Kartik Agaram <vc@akkartik.com> 2020-10-05 11:00:05 -0700 6958' href='/akkartik/mu/commit/html/302stack_allocate.subx.html?h=hlt&id=d3a9db3aff54ea485f409eaaef3d8f56ad77f0dc'>d3a9db3a ^
9a777801 ^

































762107fd ^
9a777801 ^

de8a15e9 ^

9a777801 ^































91a5f3e1 ^
9a777801 ^


91a5f3e1 ^





















9a777801 ^



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