about summary refs log tree commit diff stats
path: root/event.c
diff options
context:
space:
mode:
authorarg@10ksloc.org <unknown>2006-07-21 10:07:41 +0200
committerarg@10ksloc.org <unknown>2006-07-21 10:07:41 +0200
commit0c7bcc24cbd0d721a4e7d152c05886ac30cc4af3 (patch)
tree62924dc569afa0c2a26f455fccc6b43d3be0c39c /event.c
parent98c6a92eb56dbbbec32734f3d9206ae63c8f8c08 (diff)
downloaddwm-0c7bcc24cbd0d721a4e7d152c05886ac30cc4af3.tar.gz
applied sanders maxfix patch
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 58df281..aa07427 100644
--- a/event.c
+++ b/event.c
@@ -170,7 +170,7 @@ buttonpress(XEvent *e)
 		default:
 			break;
 		case Button1:
-			if(arrange == dofloat || c->isfloat) {
+			if(!c->ismax && (arrange == dofloat || c->isfloat)) {
 				higher(c);
 				movemouse(c);
 			}
@@ -179,7 +179,7 @@ buttonpress(XEvent *e)
 			lower(c);
 			break;
 		case Button3:
-			if(arrange == dofloat || c->isfloat) {
+			if(!c->ismax && (arrange == dofloat || c->isfloat)) {
 				higher(c);
 				resizemouse(c);
 			}
mail.com> 2015-07-20 21:36:58 +0100 Added carbon message tests' href='/danisanti/profani-tty/commit/tests/functionaltests/test_carbons.c?id=bdcc0ddbf813f9b19016eb873d5abe0d9d417996'>bdcc0ddb ^
7f98e013 ^
bdcc0ddb ^


7f98e013 ^
bdcc0ddb ^





7f98e013 ^
bdcc0ddb ^

8e75437a ^
7f98e013 ^


bdcc0ddb ^
















7f98e013 ^
bdcc0ddb ^


7f98e013 ^
bdcc0ddb ^





7f98e013 ^
bdcc0ddb ^

7f98e013 ^



bdcc0ddb ^








fca59a31 ^





























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
146
147
148
149
150