respect rules

This commit is contained in:
Julien Danjou 2008-01-13 18:32:25 +01:00
parent 94197429e5
commit f9cebe0dd8
1 changed files with 12 additions and 0 deletions

View File

@ -276,6 +276,18 @@ client_manage(Window w, XWindowAttributes *wa, int screen)
else
move_client_to_screen(c, screen, True);
tag_client_with_rule(c, rule);
switch(rule->isfloating)
{
case Auto:
break;
case Float:
c->isfloating = True;
break;
case Tile:
c->isfloating = False;
break;
}
}
else
move_client_to_screen(c, screen, True);