Re: [dwm] xprop patch

From: Anselm R Garbe <garbeam_AT_gmail.com>
Date: Tue, 9 Dec 2008 22:37:20 +0000

2008/12/9 Neale Pickett <neale_AT_woozle.org>:
> I very much like this patch. I realized right away that I would never
> again need to restart dwm when I work on my status script. When it
> dies, I can just start it up again without restarting DWM. Someone
> could even have multiple programs running to update the status text. It
> removes the need for the "readin" variable: you either set the property
> or you don't.

I dislike X properties, however I like your patch a lot and consider
it making mainstream, since it simplifies dwm a lot and fixes a lot of
issues. dwm depends on X anyways, so for the status text mechanism to
happen, it's the simpler method.

> This would be 40 if the property were hard coded to XA_WM_NAME. I left
> in a comment to use a property named "DWM_STATUS" instead of XA_WM_NAME,
> so people could play with it easily, but I think XA_WM_NAME is
> ultimately the right way to do it.

XA_WM_NAME is the way to go.

Kind regards,
--Anselm
Received on Tue Dec 09 2008 - 22:37:20 UTC

This archive was generated by hypermail 2.2.0 : Tue Dec 09 2008 - 22:48:03 UTC