summaryrefslogtreecommitdiff
path: root/run-shell
diff options
context:
space:
mode:
Diffstat (limited to 'run-shell')
-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] = {}