From 6c3a211991600f1fce54e7655c75d046b983fdeb Mon Sep 17 00:00:00 2001 From: lcpz Date: Sat, 1 Dec 2018 18:35:44 +0000 Subject: [PATCH] util.quake: revert previous commit; closes #415 --- util/quake.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/util/quake.lua b/util/quake.lua index f41447f..01891b0 100644 --- a/util/quake.lua +++ b/util/quake.lua @@ -7,7 +7,7 @@ --]] local awful = require("awful") -local client = client +local capi = { client = client } local math = math local string = string local pairs = pairs @@ -77,7 +77,7 @@ function quake:display() client:raise() self.last_tag = self.screen.selected_tag client:tags({self.screen.selected_tag}) - client.focus = client + capi.client.focus = client else client.hidden = true local ctags = client:tags() @@ -137,12 +137,12 @@ function quake:new(config) local dropdown = setmetatable(conf, { __index = quake }) - client.connect_signal("manage", function(c) + capi.client.connect_signal("manage", function(c) if c.instance == dropdown.name and c.screen == dropdown.screen then dropdown:display() end end) - client.connect_signal("unmanage", function(c) + capi.client.connect_signal("unmanage", function(c) if c.instance == dropdown.name and c.screen == dropdown.screen then dropdown.visible = false end -- 2.39.5