summaryrefslogtreecommitdiffstats
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
parentadded a note how to achieve status info in the bar (diff)
downloaddwm-0c7bcc24cbd0d721a4e7d152c05886ac30cc4af3.tar.gz
dwm-0c7bcc24cbd0d721a4e7d152c05886ac30cc4af3.zip
applied sanders maxfix patch
Diffstat (limited to '')
-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)
170 default: 170 default:
171 break; 171 break;
172 case Button1: 172 case Button1:
173 if(arrange == dofloat || c->isfloat) { 173 if(!c->ismax && (arrange == dofloat || c->isfloat)) {
174 higher(c); 174 higher(c);
175 movemouse(c); 175 movemouse(c);
176 } 176 }
@@ -179,7 +179,7 @@ buttonpress(XEvent *e)
179 lower(c); 179 lower(c);
180 break; 180 break;
181 case Button3: 181 case Button3:
182 if(arrange == dofloat || c->isfloat) { 182 if(!c->ismax && (arrange == dofloat || c->isfloat)) {
183 higher(c); 183 higher(c);
184 resizemouse(c); 184 resizemouse(c);
185 } 185 }