From 62edd22cdb79e8afed8c54cdfc9424205018a6a7 Mon Sep 17 00:00:00 2001 From: Luke Bonham Date: Tue, 5 Sep 2017 16:34:52 +0200 Subject: [PATCH 1/1] util.quake: removed onlyone parameters; wiki updated; counters #339 --- util/quake.lua | 5 +---- wiki | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/util/quake.lua b/util/quake.lua index c98f28d..9a3db9a 100644 --- a/util/quake.lua +++ b/util/quake.lua @@ -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 diff --git a/wiki b/wiki index 232d3b6..290f246 160000 --- a/wiki +++ b/wiki @@ -1 +1 @@ -Subproject commit 232d3b634de9c0d35ad84a009d01f42de84d5e5a +Subproject commit 290f246f06fe518ddbe039ea3cf9421a6fdec1e5 -- 2.39.5