2008/8/1 Anselm R Garbe <[EMAIL PROTECTED]>:
> Well yes and no. Allowing setting readin in config.h, means that one
> could set it to False by default, without closing stdin. But one could
> enable it furtheron defining some Key handler function. That's why I
> think declaring it in config.h is a good idea in general.

Actually stdin isn't closed during the main event loop, so that echo |
dwm should work, since readin can be accessed from some key handler
defined in config.h anyways. So yes, I agree, it's not necessary to
move the declaration, though you would get EOF in the case of echo |
dwm whereas you would get dwm-VERSION in the case that readin is set
to False in config.h. Sort of I prefer to move the declaration to
config.h

Kind regards,
--Anselm

Reply via email to