diff options
author | arg@10ksloc.org <unknown> | 2006-07-19 17:42:08 +0200 |
---|---|---|
committer | arg@10ksloc.org <unknown> | 2006-07-19 17:42:08 +0200 |
commit | bcaf6a7a0f492c3fafc4baabd2dc06f5191417ee (patch) | |
tree | ec21757627c1bef7b9df09f80543a55f41f8a56f /client.c | |
parent | f95eed34b46dfe73f1511703e0a9301c9d8d1952 (diff) | |
download | dwm-bcaf6a7a0f492c3fafc4baabd2dc06f5191417ee.tar.gz |
implemented regexp matching for rules
Diffstat (limited to 'client.c')
-rw-r--r-- | client.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/client.c b/client.c index ccd8100..aa96f4f 100644 --- a/client.c +++ b/client.c @@ -247,8 +247,9 @@ manage(Window w, XWindowAttributes *wa) GrabModeAsync, GrabModeSync, None, None); if(!c->isfloat) - c->isfloat = trans - || ((c->maxw == c->minw) && (c->maxh == c->minh)); + c->isfloat = trans || (c->maxw && c->minw && + (c->maxw == c->minw) && (c->maxh == c->minh)); + setgeom(c); settitle(c); |