[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Window configurations
From: |
martin rudalics |
Subject: |
Re: Window configurations |
Date: |
Wed, 28 Apr 2010 09:12:56 +0200 |
User-agent: |
Thunderbird 2.0.0.21 (Windows/20090302) |
>> Users "define" window configurations by splitting and deleting windows.
>> They have no idea of the underlying window tree.
>
> I'm not sure that's right. While users certainly don't know about
> `frame-root-window' windows, the tree is otherwise readily apparent
> (since, for instance, resizing or deleting a window distinguishes
>
> +-+-+ +-+-+
> |A|B| |A|B|
> +-|-+ and +---+
> |C|D| |C|D|
> +-+-+ +-+-+
>
> in an immediately obvious fashion).
Yes. But by merey looking at these configuration you can't tell the
difference.
> Why not store a configuration as a
> (resolution-independent) tree:
>
> subtree = window | tree ;
> tree = "(", horiz, subtree, split, { split }, ")" ;
> split = fraction, subtree ;
> horiz = nil | t ; (* t for C-x 3 *)
> fraction = ? float ? ;
> window = ? ... ? ; (* the hard part *)
That's more or less what I proposed earlier: All I need for the current,
tiling window-manager based on window-trees is the type of the split
(horizontal or vertical) and the fraction occupied by a window wrt to
its parent window. This implies, however, that an overlapping manager
processing such a structure must be able to understand window trees.
martin
- Re: Window configurations, (continued)
- Re: Window configurations, martin rudalics, 2010/04/26
- Re: Window configurations, Juri Linkov, 2010/04/27
- Re: Window configurations, martin rudalics, 2010/04/27
- Re: Window configurations, Juri Linkov, 2010/04/27
- Info buffers in Desktop, Juri Linkov, 2010/04/27
- Re: Window configurations, martin rudalics, 2010/04/28
- Re: Window configurations, Juri Linkov, 2010/04/28
- Re: Window configurations, Davis Herring, 2010/04/27
- Re: Window configurations, Juri Linkov, 2010/04/28
- Re: Window configurations, Davis Herring, 2010/04/28
- Re: Window configurations,
martin rudalics <=
- Re: Window configurations, Stefan Monnier, 2010/04/28
- Re: Window configurations (was: Gtk tabs in emacs, new branch), Ken Hori, 2010/04/29
- Re: Window configurations, Stefan Monnier, 2010/04/30
- Re: Gtk tabs in emacs, new branch, Stefan Monnier, 2010/04/10
- Re: Gtk tabs in emacs, new branch, Uwe Siart, 2010/04/02
- Re: Gtk tabs in emacs, new branch, Daniel Colascione, 2010/04/02
- Re: Gtk tabs in emacs, new branch, Stefan Monnier, 2010/04/02
- Re: Gtk tabs in emacs, new branch, Uwe Siart, 2010/04/03
- Re: Gtk tabs in emacs, new branch, Uwe Siart, 2010/04/03
Re: Gtk tabs in emacs, new branch, Uwe Siart, 2010/04/02