1
0
mirror of git://git.suckless.org/dwm synced 2025-07-31 04:02:12 -07:00

implemented regexp matching for rules

This commit is contained in:
arg@10ksloc.org
2006-07-19 17:42:08 +02:00
parent f95eed34b4
commit bcaf6a7a0f
4 changed files with 40 additions and 32 deletions

View File

@@ -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);