tapplied sanders maxfix patch - dwm - [fork] customized build of dwm, the dynamic window manager (HTM) git clone git://src.adamsgaard.dk/dwm (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit 0c7bcc24cbd0d721a4e7d152c05886ac30cc4af3 (DIR) parent 98c6a92eb56dbbbec32734f3d9206ae63c8f8c08 (HTM) Author: arg@10ksloc.org <unknown> Date: Fri, 21 Jul 2006 10:07:41 +0200 applied sanders maxfix patch Diffstat: M event.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- (DIR) diff --git a/event.c b/event.c t@@ -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); } t@@ -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); }