From 6dda0e459918b4e90cfdf67bf8e89becf1f2f04b Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee Date: Sun, 13 Sep 2020 23:35:57 -0700 Subject: [PATCH] screen: Correctly detect tiled_clients. At some point we added an unified `maximized` property to the client class. Originally it was just setting both horizontal and vertical maximization. LAter on, this was rewritten to make the state change more atomic and reversible. Soon after, we added `immobilized_horizontal` and `immobilized_vertical` to make most `if` simpler. `screen.tiled_clients` was missed in that refactoring. Fix #3169 --- lib/awful/screen.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/awful/screen.lua b/lib/awful/screen.lua index 142f3cf4..2d76e1c4 100644 --- a/lib/awful/screen.lua +++ b/lib/awful/screen.lua @@ -503,9 +503,8 @@ function screen.object.get_tiled_clients(s, stacked) -- Remove floating clients for _, c in pairs(clients) do if not c.floating - and not c.fullscreen - and not c.maximized_vertical - and not c.maximized_horizontal then + and not c.immobilized_horizontal + and not c.immobilized_vertical then table.insert(tclients, c) end end