On Sat, Jun 28, 2003 at 07:51:45PM +0200, Niclas Olofsson wrote:
> Am I right Tuomo?
add_to_hook("screen_workspace_switched",
function(scr, reg)
-- do some moving here
end)
It will be ugly, but should in principle work. You may want to use
the (mplex_|WMPlex.)managed_index function defined in ioncore-mplexfns.lua
to save the index of the client window to be moved for each frame so that
it can be put back to where it was when switching back to a workspace/frame.
(Yeah, I should document the hooks somewhere and perhaps add a few more.)
--
Tuomo