Skip to content

Commit

Permalink
Fix master/slave clients
Browse files Browse the repository at this point in the history
  • Loading branch information
Elv13 committed Jan 4, 2017
1 parent 4b8a7ed commit 0623308
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tyrannical/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,18 @@ function awful.rules.delayed_properties.master(c, value)
if not value then return end

awful.client.setmaster(c)

-- Some smarter layouts may implement this directly
c.master = true
end

function awful.rules.delayed_properties.slave(c, value)
if not value then return end

awful.client.setslave(c)

-- Some smarter layouts may implement this directly
c.slave = true
end

function module.focus_client(c,properties)
Expand Down

0 comments on commit 0623308

Please sign in to comment.