diff options
author | Adrian C. (anrxc) <anrxc@sysphere.org> | 2010-01-26 00:22:13 +0100 |
---|---|---|
committer | Adrian C. (anrxc) <anrxc@sysphere.org> | 2010-01-26 00:22:13 +0100 |
commit | 3c67a32045764d4f063700ceb109bca29e50f154 (patch) | |
tree | a1f0a4305db6ea48c32cda6ee25ed2e666371236 /rc.lua | |
parent | 96f54dbe344cca3ba1d36b1a4db6aab082fffaae (diff) | |
download | awesome-configs-3c67a32045764d4f063700ceb109bca29e50f154.tar.xz |
rc.lua: move honoring size hints to rules
Diffstat (limited to 'rc.lua')
-rw-r--r-- | rc.lua | 12 |
1 files changed, 4 insertions, 8 deletions
@@ -496,9 +496,8 @@ root.keys(globalkeys) -- {{{ Rules awful.rules.rules = { { rule = { }, properties = { - focus = true, - keys = clientkeys, - buttons = clientbuttons, + focus = true, size_hints_honor = false, + keys = clientkeys, buttons = clientbuttons, border_width = beautiful.border_width, border_color = beautiful.border_normal } }, @@ -537,8 +536,8 @@ awful.rules.rules = { -- -- {{{ Manage signal handler client.add_signal("manage", function (c, startup) - -- Add a titlebar to each floater, and - if awful.client.floating.get(c) -- remove those in rule callback + -- Add titlebar to floaters, but remove those from rule callback + if awful.client.floating.get(c) or awful.layout.get(c.screen) == awful.layout.suit.floating then if c.titlebar then awful.titlebar.remove(c) else awful.titlebar.add(c, {modkey = modkey}) end @@ -552,9 +551,6 @@ client.add_signal("manage", function (c, startup) end end) - -- Honor size hints - c.size_hints_honor = false - -- Client placement if not startup then awful.client.setslave(c) |