Rui Tiago Matos <[EMAIL PROTECTED]> writes:

> Now using the lua query i issued
> "detach.manage_transcient_with_float()" and then all windows are
> popping in layer 2.

When one window is active in layer 2, new window will be added to the
layer 2.


You can play with the "passive" parameter of the layer 2 workspace:
replace

         passive = false,

by

         passive = true,

and close the already created floatws using this:

function detach.close_layer2_ws(frame)
   for _,r in frame:screen_of():llist(2) do
      if obj_is(r, "WFloatWS") then
         r:rqclose_relocate()
      end
   end
end

(call "detach.close_layer2_ws(_)")

--
Matthieu

Reply via email to