summaryrefslogtreecommitdiff
path: root/config/awesome/rc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'config/awesome/rc.lua')
-rw-r--r--config/awesome/rc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/awesome/rc.lua b/config/awesome/rc.lua
index 17f43d8..9a274d5 100644
--- a/config/awesome/rc.lua
+++ b/config/awesome/rc.lua
@@ -294,7 +294,7 @@ globalkeys = awful.util.table.join(
awful.key({ modkey, "Shift" }, ";",
function ()
awful.prompt.run({ prompt = "Run Lua code: " },
- mypromptbox[mouse.screen].widget,
+ awful.screen.focused().mypromptbox.widget,
awful.util.eval, nil,
awful.util.getdir("cache") .. "/history_eval")
end),