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?
You should try:
client.focus = c
c:raise()
c
is the client which you want to focus.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.