Re: Flip windows, not frames

Oskar Nordquist <[email protected]> Fri, 4 Sep 2009 23:17:06 +0200
Newsgroups gmane.comp.window-managers.ion.general
Message-ID <[email protected]>
Thank you!

I actually found out a more general way to do it based on the
"move_current.lua" script that moves a window in current frame to
another frame in a specified direction, only I swap the windows inside
them instead.

2009/9/2 Ole Jørgen Brønner <[email protected]>:
> On Wed, 02 Sep 2009 15:06:18 +0200, Oskar Nordquist
> <[email protected]> wrote:
>
>> Hi,
>>
>> When flipping using WTiling.flip_at(), frames are flipped. I'd like to
>> have a similar functionality when the frames are intact, but the
>> active windows/clients inside are flipped to each ones frame. Is this
>> possible?
>>
>> Regards,
>> Oskar
>
> I thought I wanted this some time ago so I wrote some utility functions
> to do it. (attached) It's very crude though. Only for left/right and it
> pretty much assumes only one horizontal split I think.
>
> I never really used it much so I haven't bothered to improve it.
>
> As you can see from the code it's pretty trival to do.
> (it's only swap_lr and swap that's important)
swap_current.lua (application/octet-stream, 722 B) - not displayed