respect rules
This commit is contained in:
parent
94197429e5
commit
f9cebe0dd8
12
client.c
12
client.c
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue