Tuomo Valkonen <[EMAIL PROTECTED]> wrote:
>On Thu, Nov 04, 2004 at 04:42:38PM +0100, Jan Johansson wrote:
>>              clientwin_handler=MPlex.get_handler(clientwin)
>
>mgr=clientwin:manager()

Looking at the manual now I wounder why I didn't try that. Well I
blame this object stuff cause WRegion WRegion.manager(WRegion
reg) sure looks like it wants an argument. :-)

Anyway this works like a champ

add_to_hook("clientwin_added",
        function(clientwin)
                manager=clientwin:manager()
                if obj_is(manager, "WMPlex") then
                        WMPlex.move_to_index(manager, clientwin, 
WMPlex.managed_count(manager))
                end
        end
)

and togheter with

set_switch_to_new_clients(false)

my ion config is now complete (for today atleast :-).

Thank you for providing the best window manager.

Jan J

Reply via email to