summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Makhov <pmakhov@touchtunes.com>2018-12-24 21:54:50 -0500
committerPavel Makhov <pmakhov@touchtunes.com>2018-12-24 21:54:50 -0500
commit98340da95054a6ddc036c94af9f470d3029679a3 (patch)
tree7193e6afbd9a5fe809c6b551552439103c725ad9
parent627a6888a26101284958d1c7802be819783c8584 (diff)
fix blink issue
-rw-r--r--run-shell/run-shell.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/run-shell/run-shell.lua b/run-shell/run-shell.lua
index df01d29..ae86a9e 100644
--- a/run-shell/run-shell.lua
+++ b/run-shell/run-shell.lua
@@ -75,7 +75,7 @@ function widget.new()
function widget_instance:launch(s, c)
c = c or capi.client.focus
- s = s or (c and c.screen or mouse.screen)
+ s = mouse.screen
naughty.notify { text = 'screen ' .. s.index }
if not self._cached_wiboxes[s] then
self._cached_wiboxes[s] = {}