summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 a88c49e..00165ce 100644
--- a/config/awesome/rc.lua
+++ b/config/awesome/rc.lua
@@ -707,7 +707,7 @@ tag.connect_signal(
if selected then
if not do_not_reset_focus then
gears.timer.delayed_call( function()
- local c = awful.mouse.client_under_pointer()
+ local c = mouse.current_client
if not (c == nil) then
client.focus = c
end