diff --git a/awesomerc.lua b/awesomerc.lua index dff4265ed..d8b900425 100755 --- a/awesomerc.lua +++ b/awesomerc.lua @@ -161,11 +161,9 @@ mytasklist.buttons = awful.util.table.join( end), awful.button({ }, 4, function () awful.client.focus.byidx(1) - if client.focus then client.focus:raise() end end), awful.button({ }, 5, function () awful.client.focus.byidx(-1) - if client.focus then client.focus:raise() end end)) for s = 1, screen.count() do @@ -229,12 +227,10 @@ globalkeys = awful.util.table.join( awful.key({ modkey, }, "j", function () awful.client.focus.byidx( 1) - if client.focus then client.focus:raise() end end), awful.key({ modkey, }, "k", function () awful.client.focus.byidx(-1) - if client.focus then client.focus:raise() end end), awful.key({ modkey, }, "w", function () mymainmenu:show() end), diff --git a/lib/awful/client.lua b/lib/awful/client.lua index b09147888..7fc60a036 100644 --- a/lib/awful/client.lua +++ b/lib/awful/client.lua @@ -348,7 +348,7 @@ end function client.focus.byidx(i, c) local target = client.next(i, c) if target then - target:emit_signal("request::activate", "client.focus.byidx", false) + target:emit_signal("request::activate", "client.focus.byidx", true) end end