From f9cebe0dd8931c1b1184a1cee5b14da8542fde86 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Sun, 13 Jan 2008 18:32:25 +0100 Subject: [PATCH] respect rules --- client.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/client.c b/client.c index 28f660a6..2e78c781 100644 --- a/client.c +++ b/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);