Hi,
I'm writing a custom startup sequence that hooks in
clientwin_do_manage_alt to arrange windows in frames (I need a bit more
flexibility than that offered by the provided winprops mechanism, as
it's documented in the faq and the configuration guide, because I also
want to specify the mx index for each window, not only its target
frame). From inspection I discovered that the default ion handling of
new client windows put them inside singleton wc groups instead of
directly under the frame. Dialogs later opened by these windows are
implemented as framed transients inside the wc group. That's fine, I get
the idea. But then, I would like to do the same from my hook although
the configuration guide only shows the simpler -no wc group involved-
way:
"""
Hook name:
clientwin_do_manage_alt
[...]
This hook is not called in protected mode and can be used for arbitrary
placement policies (deciding in which workspace a new WClientWin should
go). In this case, you can call
reg:attach(cwin)
"""
Can you explain me how to achieve the frame-->wgroupcw-->clientwin setup
instead?
Thank you in advance
Regards
-Carlos