Set Dia windows to master as well

This commit is contained in:
Tom Willemse 2015-02-25 13:12:04 +01:00
parent 7926b846a7
commit 7091c6ec43

View file

@ -507,7 +507,7 @@ client.connect_signal("manage", function (c, startup)
if not startup then if not startup then
-- Set the windows at the slave, -- Set the windows at the slave,
-- i.e. put it at the end of others instead of setting it master. -- i.e. put it at the end of others instead of setting it master.
if not awful.rules.match(c, { class = "Emacs" }) then if not awful.rules.match_any(c, { class = { "Emacs", "Dia" } }) then
awful.client.setslave(c) awful.client.setslave(c)
end end