Re: [dwm] bugfixes and some refactoring

From: Anselm R. Garbe <>
Date: Fri, 17 Aug 2007 07:55:46 +0200

Hi Jukka,

On Thu, Aug 16, 2007 at 06:49:34PM +0200, Jukka Salmi wrote:
> Anselm R. Garbe --> dwm (2007-08-16 18:33:19 +0200):
> > I believe I fixed the issue, please recheck with hg tip!
> Yes, you did. Thanks!
> BTW, would it make sense to save and restore seltag[] across dwm
> restarts? And maybe clients[] and stack[]? And probably everything
> else? ;-)

seltag[] could be a _DWM_CONFIG on the root window, though I'm
not sure if that makes sense.

However clients[] and stack[] is impossible, because both have a
totally different order and in X there is only one window tree
order. dwm should keep the layouts nearly untouched during
restarts if the master is selected or if floating is your
default layout.

Well, I think a good compromise would be to store seltag[]
(which should be renamed as well to seltags[] if that isnt done
yet) and the layout index as _DWM_CONFIG on the root window.


 Anselm R. Garbe >< >< GPG key: 0D73F361
Received on Fri Aug 17 2007 - 07:55:46 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:50:00 UTC