From e391fa40a99a521a6b7ab4d5e62ffcd4ca4754bf Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Sun, 20 Sep 2009 03:23:46 +0200 Subject: [PATCH] this was looking wrong --- src/conky.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/conky.c b/src/conky.c index 216afe6a..6a356079 100644 --- a/src/conky.c +++ b/src/conky.c @@ -4263,13 +4263,11 @@ static void draw_stuff(void) #endif /* X11 */ draw_mode = FG; draw_text(); -#ifdef X11 - xdbe_swap_buffers(); +#if defined(X11) && defined(HAVE_XDBE) if (output_methods & TO_X) { -#ifdef HAVE_XDBE -#endif + xdbe_swap_buffers(); } -#endif /* X11 */ +#endif /* X11 && HAVE_XDBE */ if(overwrite_fpointer) { fclose(overwrite_fpointer); overwrite_fpointer = 0;