Hook to know about transient window size change?

Alte <[email protected]>
Newsgroups gmane.comp.window-managers.ion.general
Message-ID <[email protected]>
Hi,

Is there any way to get a hook that will be called on transient size
change?  I am setting initial positions of the transients in
clientwin_mapped_hook, but way too many of them immediately resize
themselves after showing up.

At the moment I use an ugly timer hack:

function position_windows()
    ioncore.clientwin_i(function(i)
        if obj_typename(i:manager()) == "WFrame" then
            ioncore.defer(function()
                set_position(i)
            end)
        end
        return true
    end)
    pos_timer:set(1000, position_windows)
end

Thanks,

-- Sasha
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.