Hello.
I hope someone can help me with what I believe is a simple
problem where the solution have evaded me for days.
I would like new application windows to be created all the way to
the right of the current WIonWS.
In ioncore/clientwin.c it says extl_call_named("call_hook", "so",
NULL, "clientwin_added", cwin); which makes me believe that the
function of a "clientwin_added" hook recieves one argument of
type "WClientWin" and from that I am trying to access a MPlex
that I can use to move the new window.
Something like
add_to_hook("clientwin_added",
function(clientwin)
parent=WRegion.parent(clientwin),
WMPlex.switch_next(parent)
end
)
which does stuff just after SIGUSR1 but when creating new windows
crashes ion.
:; ion -V
2-20040207
:; uname -a
SunOS riker.isk.kth.se 5.9 Generic_117171-12 sun4u sparc
SUNW,Sun-Blade-100
Full ion.lua on http://www.isk.kth.se/~janj/ion.lua.
Jan J