util.quake: removed onlyone parameters; wiki updated; counters #339

This commit is contained in:
Luke Bonham 2017-09-05 16:34:52 +02:00
parent 1b12fd2319
commit 62edd22cdb
2 changed files with 2 additions and 5 deletions

View File

@ -26,8 +26,6 @@ local quake = {}
function quake:display()
if self.followtag then self.screen = awful.screen.focused() end
local toscan = self.screen
if self.onlyone then toscan = nil end
-- First, we locate the client
local client = nil
@ -35,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, toscan)
end, nil, self.screen)
do
i = i + 1
if i == 1 then
@ -129,7 +127,6 @@ function quake:new(config)
conf.border = conf.border or 1 -- client border width
conf.visible = conf.visible or false -- initially not visible
conf.followtag = conf.followtag or false -- spawn on currently focused screen
conf.onlyone = conf.onlyone or false -- one instance for all screens
conf.overlap = conf.overlap or false -- overlap wibox
conf.screen = conf.screen or awful.screen.focused()
conf.settings = conf.settings

2
wiki

@ -1 +1 @@
Subproject commit 232d3b634de9c0d35ad84a009d01f42de84d5e5a
Subproject commit 290f246f06fe518ddbe039ea3cf9421a6fdec1e5