I'm trying to write a client-switcher, and it's going pretty well
except I can't figure out how to switch to a tag and then focus on a
client  Switching to the tag (from the script) works fine, and if I
manually switch to the target tag first and then use the script to
focus on a tag that works fine too.  But I can't seem to both switch
tags and focus on a client from the script.  From the standard rc.lua
file, I deduced that I should try something like

capi.client.focus = target_client
target_client:raise ()

to focus the client, but as I explained that's not quite working.  Is
there some other way I should be doing this?

Thanks!

-- 
To unsubscribe, send mail to [email protected].

Reply via email to