[max] Only raise if focused window is tiled

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-05-27 22:04:41 +02:00
parent bff3b1778b
commit e317a70fea
1 changed files with 2 additions and 1 deletions

View File

@ -45,7 +45,8 @@ layout_max(int screen)
area.height += 2 * c->border;
}
if((focus = focus_get_current_client(screen)))
if((focus = focus_get_current_client(screen))
&& IS_TILED(focus, screen))
client_raise(focus);
}
// vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=80