diff options
author | Tim Keller <tjkeller.xyz> | 2025-01-05 16:48:19 -0600 |
---|---|---|
committer | Tim Keller <tjkeller.xyz> | 2025-01-05 16:48:19 -0600 |
commit | 66fa8eab2db9b8a007d0190c0ce765820262ee4d (patch) | |
tree | 589effdfb2acc60273ef0dd32eea96ef097ec884 /lib | |
parent | 1ad1e4120700148359b271566ca70aed7ae79321 (diff) | |
download | awesome-66fa8eab2db9b8a007d0190c0ce765820262ee4d.tar.xz awesome-66fa8eab2db9b8a007d0190c0ce765820262ee4d.zip |
fix floating wins and disable max wins
Diffstat (limited to 'lib')
-rw-r--r-- | lib/manage.lua | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/lib/manage.lua b/lib/manage.lua index 5b1bd40..fb7cc91 100644 --- a/lib/manage.lua +++ b/lib/manage.lua @@ -8,8 +8,20 @@ client.connect_signal("manage", function (c) awful.client.setslave(c) end + -- Prevent clients from being unreachable after screen count changes. if awesome.startup and not c.size_hints.user_position and not c.size_hints.program_position then - -- Prevent clients from being unreachable after screen count changes. awful.placement.no_offscreen(c) end end) + +-- Floating clients should always be on top +client.connect_signal("property::floating", function(c) + if not c.fullscreen then + c.ontop = c.floating + end +end) + +-- Disable maximized clients +client.connect_signal("property::maximized", function(c) + c.maximized = false +end) |