I've got my Emacs running on a tag worker with server-start launched. I have a file manager opened somewhere else (another monitor for example) and when I open a text file with emacsclient it successfully opens in emacs but doesn't switch to it and doesn't rise it up.
What I'm looking for is a client specific signal in the rc.lua. Something like:
client.add_signal("focus", function(c) c:raise() end)
I want it to be only Emacs specific. And switch to the worker tag at the same time. Alternatively can I do it from Emacs rule callback?
Any ideas? :)