Hi all,
I have been using awesome since a few months now, but there is one thing
I really miss: sloppy focus with autoraise after some delay.
I modified rc.lua from
client.connect_signal(focus, function(c) c.border_color =
beautiful.border_focus end)
to
client.connect_signal(focus,
Hi,
On 31.03.2014 11:06, Eugen Dedu wrote:
I have been using awesome since a few months now, but there is one thing
I really miss: sloppy focus with autoraise after some delay.
I modified rc.lua from
client.connect_signal(focus, function(c) c.border_color =
beautiful.border_focus end)
Tested and in productive use:
function delayFunctionCall(time, funct)
local t = timer({ timeout = time or 0.01 })
t:connect_signal(timeout, function() t:stop(); funct() end)
t:start()
end
just hand over your wanted delay (if nil, 0.01s is used) and the
function doing what you want to
On 31/03/14 12:56, Uli Schlachter wrote:
Hi,
On 31.03.2014 11:06, Eugen Dedu wrote:
I have been using awesome since a few months now, but there is one thing
I really miss: sloppy focus with autoraise after some delay.
I modified rc.lua from
client.connect_signal(focus, function(c)