Re: [dwm] struct Client declaration

From: Jukka Salmi <j+dwm_AT_2007.salmi.ch>
Date: Wed, 10 Oct 2007 16:33:33 +0200

Tuncer Ayaz --> dwm (2007-10-10 12:43:37 +0200):
> Is it strictly needed to move the declaration of Client after #include config.h
> as done within changeset http://www.suckless.org/hg.rc/dwm/rev/bc0929d03388?
>
> This breaks nmtile.c compilation as Client is unknown in config.h.

Yes, this broke the way I use additional layouts, too. As a quick hack,
I moved the layout stuff from config.h to a new file which I include
from dwm.c after `struct Client' has been declared. I'll probably try
to find a better solution as soon as I find some time...

Cheers, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~
Received on Wed Oct 10 2007 - 16:33:34 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:58:52 UTC