Re: [dev] [st] [patch] typedefs instead of #defines

2014-04-13 Thread noname
On Tue, Apr 08, 2014 at 02:11:24PM +0200, Roberto E. Vargas Caballero wrote: > > -#define Rectangle XRectangle > > > ... > > - Rectangle r; > > + XRectangle r; > > You remove the define at all in this point, and if I remember well, this > define was needed to avoid something. Maybe Christoph

Re: [dev] [st] [patch] typedefs instead of #defines

2014-04-08 Thread Roberto E. Vargas Caballero
> -#define Rectangle XRectangle > ... > - Rectangle r; > + XRectangle r; You remove the define at all in this point, and if I remember well, this define was needed to avoid something. Maybe Christoph can talk a bit more about this, because I think he was who write these defines. Regards

[dev] [st] [patch] typedefs instead of #defines

2014-04-05 Thread noname
Replaced #defines with typedefs where possible, patch attached. diff --git a/st.c b/st.c index a4f467d..89e93e0 100644 --- a/st.c +++ b/st.c @@ -36,10 +36,6 @@ char *argv0; #define Glyph Glyph_ #define Font Font_ -#define Draw XftDraw * -#define Colour XftColor -#define Colourmap Colormap -#def