Reputation: 933
I have instance of the client which should be focused. I found only following ways to give focus to client:
But how to focus a client if I already have an instance?
Upvotes: 4
Views: 5633
Reputation: 6027
You should try:
client.focus = c
c:raise()
c
is the client which you want to focus.
Upvotes: 6