From: Peter Liljenberg <peter.liljenberg@gm...> - 2008-09-08 20:06:11
2008/9/8 Mike Meyer <mwm@...>:
> On Sat, 6 Sep 2008 15:39:23 -0400
> "David Bronke" <whitelynx@...> wrote:
>> I'd love to do some work toward getting panes (and layouts in general)
>> integrated with views in plwm. In fact, I'll probably start hacking at a
>> layout manager interface in the next couple of days.
> Interesting note: with awesome, Lua joins Python and CL in having a
> framework for building window managers. Being the newest of the bunch,
> it takes advantage of the best technology. Some of the things it does
> would bother me no end, but the idea of having different windows
> tagged for use by different layout engines (as opposed to views or
> panes) looks like a real win.
I'm about to move into a whole another direction of handlng windows
after I got a monster of a screen at work (due to a mixup in the order
system) and realized that on a 24" widescreen it just isn't possible
for me to comfortably work in windows anywhere but in the middle
region of the screen. If I could just find the time and energy to
start working on it it would be called plwm.sweetspot.
This does away with fixed window layouts and views completly, instead
moving windows around so the one with focus is (mostly) in the middle
of the screen. Any remaning screen area around it is used to display
whatever fits of the previously used windows, with the last one to the
right of the focused window, the second last one to the left, the
third last one below, fourth to the right of that etc until no more
useable space is available. These "secondary" windows are arranged so
the part of them most likely to contain something of interest is
prioritized when not all of them can be displayed. E.g. the left
bottom corner of xterms.
An interesting aspect of this model is that it is really a layout
manager which could be separate from the window manager, providing the
window manager allows other programs to shuffle around the windows.
Resizing will use whatever resize mechanism provided by the WM, and
the same thing with placing newly opened windows. The layout manager
only bothers when a command is issued to swap the currently active
window, and then everything is rearranged. If I get stuck working in
a Microsoft Windows environment, it'd be possible to write a similar
layout manager there.