3 -- Last Changed: Unknown
5 -- Move all windows on a WTiling to a single frame and destroy the rest.
6 -- (like C-x 1 in Emacs)
7 -- This is the ion3 version.
11 function collapse
.take_frame_to_here (region
, current
)
12 if region
~= current
then
13 region
:managed_i(function (cwin
)
14 ioncore
.defer(function ()
19 ioncore
.defer(function ()
26 function collapse
.collapse(ws
)
27 local current
= ws
:current()
28 ws
:managed_i (function (region
)
29 return collapse
.take_frame_to_here(region
, current
)