X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/5383f3db0dbb7e06f09a61e1db803a656abe252e..af3427c7dfcf991c56a099ac1450e54db867ae51:/util/quake.lua?ds=inline diff --git a/util/quake.lua b/util/quake.lua index 4c42803..6271fcd 100644 --- a/util/quake.lua +++ b/util/quake.lua @@ -1,10 +1,9 @@ - --[[ - - Licensed under GNU General Public License v2 - * (c) 2016, Luke Bonham - * (c) 2015, unknown - + + Licensed under GNU General Public License v2 + * (c) 2016, Luca CPZ + * (c) 2015, unknown + --]] local awful = require("awful") @@ -34,7 +33,7 @@ function quake:display() for c in awful.client.iterate(function (c) -- c.name may be changed! return c.instance == self.name - end, nil, self.screen) + end) do i = i + 1 if i == 1 then @@ -64,7 +63,7 @@ function quake:display() client.floating = true client.border_width = self.border client.size_hints_honor = false - client:geometry(self:compute_size()) + client:geometry(self.geometry[self.screen] or self:compute_size()) -- Set not sticky and on top client.sticky = false