> Greetings,
Hi,

> The config.mk option must never have been rigorously tested.
Thank you for spotting that, but maybe the description, if any, could
be a little more constructive?

> ---
>  dmenu.c | 8 +++++---
>  1 file changed, 5 insertions(+), 3 deletions(-)
> 
> diff --git a/dmenu.c b/dmenu.c
> index 9278e91..6512844 100644
> --- a/dmenu.c
> +++ b/dmenu.c
> @@ -544,11 +544,13 @@ setup(void)
>       XIM xim;
>  #ifdef XINERAMA
>       XineramaScreenInfo *info;
> -     Window w, pw, dw, *dws;
> +     Window pw;
> +     int a, j, di, n, area = 0;
> +#endif
> +     Window w, dw, *dws;
>       XWindowAttributes wa;
> -     int a, j, di, n, i = 0, area = 0;
>       unsigned int du;
> -#endif
> +     int i = 0;
>  
>       /* init appearance */
>       scheme[SchemeNorm] = drw_scm_create(drw, colors[SchemeNorm],
> 2);
Just put all common declarations above the ifdef


Reply via email to