about summary refs log tree commit diff stats
path: root/event.c
diff options
context:
space:
mode:
Diffstat (limited to 'event.c')
-rw-r--r--event.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/event.c b/event.c
index 3783eb4..d5f4aa8 100644
--- a/event.c
+++ b/event.c
@@ -130,7 +130,7 @@ buttonpress(XEvent *e) {
 	}
 	else if((c = getclient(ev->window))) {
 		focus(c);
-		if(maximized || CLEANMASK(ev->state) != MODKEY)
+		if(CLEANMASK(ev->state) != MODKEY)
 			return;
 		if(ev->button == Button1 && (arrange == dofloat || c->isfloat)) {
 			restack(c);
@@ -170,7 +170,7 @@ configurerequest(XEvent *e) {
 	XWindowChanges wc;
 
 	if((c = getclient(ev->window))) {
-		if((c == sel) && !c->isfloat && (arrange != dofloat) && maximized) {
+		if((c == sel) && !c->isfloat && (arrange != dofloat)) {
 			synconfig(c, sx, sy + bh, sw - 2, sh - 2 - bh, ev->border_width);
 			XSync(dpy, False);
 			return;
visCI' href='/ahoang/Nim/commit/.travis.yml?h=devel&id=e5aefbd1d4b865507efb755f2d89e09e0aab2bdc'>e5aefbd1d ^
911551aae ^
3ffde39cf ^

434bdbe3e ^
3ffde39cf ^
1c6c87f47 ^
363b1c0a4 ^
8f6a275f4 ^

c9a8ada72 ^

fbe7bf3c8 ^
243e66596 ^


5492190bc ^
a01fd5e93 ^

c525dfabc ^

31a41594c ^
c1c3c4c5d ^
0cb72185a ^




97738a4f2 ^

837d0c727 ^

0aac5c972 ^
ee08c6eec ^
ab1787e7d ^
01211ced1 ^
b017138c3 ^
308710c1e ^



2e5c75973 ^
308710c1e ^







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