Re: [wmii] snap: 20060309

From: Anselm R. Garbe <>
Date: Fri, 10 Mar 2006 15:37:01 +0100

On Fri, Mar 10, 2006 at 02:28:22PM +0000, David Tweed wrote:
> trans = 0, rect = {x = 3, y = 17, width = 634,
> height = 0},

This is the problem, height == 0, and a zero height causes
wether wmii or the MEDEA window to crash the WM (maybe it is a
division by zero in the end). Will check this later, but we
really need a strategy to handle the case if too many windows
get attached.

I can think of:

1) If column cannot scale more clients, switch to max mode (only
allow stacking and equal mode if the result would be scalable).
This seems to be a very simple solution, maybe remember the
mode, which means stacking and equal would end in some kind of
submode which falls back to max mode.

2) If a column cannot scale more clients, make them floating
(seems pretty bad).

3) If a column cannot scale more clients, open a new column
(seems also bad, because this might not scale well if you get >
5-10 columns this way, and might crash in the end as well).

I think 1) is the way to go for.


 Anselm R. Garbe  ><><  ><><  GPG key: 0D73F361
Received on Fri Mar 10 2006 - 15:37:01 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:00:58 UTC