heyo, erryone.
i'm trying to switch focus to the most recently focused client on a
different screen when the mouse moves into it. so far i've tried:
for s = 1, screen.count() do
screen[s]:connect_signal("mouse::enter", function(s)
screen.focus(s)
client.focus = client.focus.history.get(s)
end)
end
for s = 1, screen.count() do
screen[s]:connect_signal("mouse::enter", function(s)
client.focus = client.focus.history.get(s)
end)
end
and
for s = 1, screen.count() do
screen[s]:connect_signal("mouse::enter", function(s)
client.focus = client.focus.history.get(screen[s])
end)
end
to no avail.
--
"*Beloved are those who sit down"-*Cesar Vallejo
"*I think you're actually an almond*."-Andy