I use an embedded dock:
mod_dock.create{
mode="embedded",
pos="br",
grow="left",
is_auto=true,
name="*dock*",
}
If I have a WFloatWS directly attached to a WScreen (not managed by an
WIonWS, but using the whole screen), the embedded dock shows in the
bottom right, as it should. However, if I then close all floating
frames, so the only thing on the screen is the dock, and then use the
default WMPlex close binding:
kpress_wait(MOD1.."C", "WRegion.rqclose_propagate(_, _sub)"),
then the WFloatWS is closed as it's supposed to. But all the dockapps
are then removed from the dock!
The same thing happens if I use:
kpress_wait(MOD1.."C", "WRegion.rqclose(_sub)"),
Is there some way to avoid this, or is this a bug?
Also, the ion3 doc for these two functions seems a little garbled. On
http://modeemi.cs.tut.fi/~tuomov/ion/doc-3/ionconf/node7.html, the docs
for rqclose() say that its second argument is "bool relocate", but don't
say what this does. And the docs for rqclose_propagate() are
self-referential: "Also see notes for WRegion.rqclose_propagate", with a
link pointing to the same entry.
Jason