[dwm] Applying fibonacci or golden ratio to tile()?

2007-07-28 Thread Anselm R. Garbe
Hi there,

People ask from time to time to have different heights of
clients in the stack/master area.

After looking into the spiral thing I got the idea, that one
could distribute different heights to clients in the master and
stacking area as follows:


--
|   ||
|   ||
|   ||
|   ||
|   ||
|---||
|   ||
|   ||
|   ||
--

This means, that clients at the top positions get always a
bigger height, than clients at lower positions. The decision
about this could be done using golden ratio. What do you think
about this?

Regards,
-- 
 Anselm R. Garbe  http://www.suckless.org/  GPG key: 0D73F361



Re: [dwm] OpenBSD 4.1 issues with DWM

2007-07-28 Thread Tobias Ulmer
On Fri, Jul 27, 2007 at 08:49:03PM -0700, Amit wrote:
 Hey guys,
 
 I've been using DWM in Linux for quite sometime now without any issues
 at all. However, recently I've been trying to set up DWM on an OpenBSD
 4.1 system. It seems to compile fine except for some warnings with
 strlcpy() functions. But it compiles fine.

This is expected behaviour. Ignore it.

 I am also able to launch it
 but that's about it. If I press any keystroke such as launching dmenu
 or xterm DWM hangs. I can still move the mouse but the tags are
 unresponsive and I can't kill X.

You can't kill X? ctrl-alt-backspace? sudo pkill -9 Xorg? That sounds
suspiciously like a Xorg (driver?) problem.

Fact is, dwm works very well on OpenBSD.

Maybe you want to say hi on [EMAIL PROTECTED] and give us a bit more
details on your Xorg configuration/logs/hardware/etc.

Tobias

 This is all on top of a fresh OpenBSD
 4.1 install with nothing in the .xinitrc file except for 'exec dwm'.
 
 Note: I've tried with both DWM 4.2 and 4.3.
 
 Any help is appreciated.
 
 Keep up the great work on DWM!
 
 Thanks,
 Amit
 
 



[dwm] dwm-4.4 is on its way

2007-07-28 Thread Anselm R. Garbe
Hi there,

I ask you to check the current hg tip (changeset 927+) to test
dwm. Especially those using Mathematica having trouble with the
so-called greyish blobs bug. I changed the mechanism how dwm
bans resp. unbans windows. Since dwm 0.1 it banned/unbanned
windows through XMoveWindow()-ing them off- and onscreen. Now
dwm uses X[Un]mapWindow() for this purpose.

Regards,
-- 
 Anselm R. Garbe  http://www.suckless.org/  GPG key: 0D73F361



Re: [dwm] Applying fibonacci or golden ratio to tile()?

2007-07-28 Thread Alexandre Boily
 After looking into the spiral thing I got the idea, that one
 could distribute different heights to clients in the master and
 stacking area as follows:

 ... What do you think
 about this?

Well, I often find myself using three terminals at the same time. I find this
idea to be interesting because I'd like to have more screen estate for important
information than what is now possible with equal division of the stacks.

In my opinion, to distribute windows according to the golden ration (or any
other proportion) is great if you only have a small number of opened windows at
the same time. Otherwise, smaller windows would be unreadable.

But still, I support this idea and like to experiment with it soon!

Salut,
Alexandre





Re: [dwm] Applying fibonacci or golden ratio to tile()?

2007-07-28 Thread Damjan Vrencur
Hi,

I think this is generally a nice idea. However, I would rather see this
only on master area.

I usually mainly focus on clients on master area. Clients on stack area are
there either for monitoring something or are waiting to get focus (via
moving to them and Alt-Enter-ing) and are thus equally (un)important.

One thing to consider is also that if stack area would be arranged
unequally-like, there will sooner or later be a need for function(ality) to
alter positions of clients within stack area, not affecting the master
area.

My proposal: 

 --
 |   ||
 |   ||
 |   ||
 |   ||
 |   ||
 |---||
 |   ||
 |   ||
 |   ||
 --
 

Peace,
-- 
 Damjan Vrenčur ~ http://lmmri.fri.uni-lj.si/damjan/ ~ GPG key: C6A3146F



Re: [dwm] OpenBSD 4.1 issues with DWM

2007-07-28 Thread James Turner
Amit,

I just did a fresh install of OpenBSD 4.1 release and dwm 4.3 within
parallels on my mac.  I also applied my various patches and everything
works great.  I would take Tobias suggestions and look into the X driver
you are using.  It seem to be more hardware related or possibly a miss
configuration.  Good luck.

-- 
James Turner
BSD Group Consulting
http://www.bsdgroup.org