awful.client.tiled: Ignore fullscreen (etc) clients (FS#1106)

I am looking forward to the bug reports requesting awful.client.floating.set(c,
true) to also automatically un-fullscreen the client...

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2013-10-04 12:04:16 +02:00
parent a6466864f9
commit f3573dbb19
1 changed files with 4 additions and 1 deletions

View File

@ -220,7 +220,10 @@ function client.tiled(screen)
local tclients = {} local tclients = {}
-- Remove floating clients -- Remove floating clients
for k, c in pairs(clients) do for k, c in pairs(clients) do
if not client.floating.get(c) then if not client.floating.get(c)
and not c.fullscreen
and not c.maximized_vertical
and not c.maximized_horizontal then
table.insert(tclients, c) table.insert(tclients, c)
end end
end end