From afef01a765f659162d799a3686b762aa432c6c19 Mon Sep 17 00:00:00 2001 From: Stefan Schmidt Date: Fri, 30 Nov 2012 11:00:01 +0000 Subject: [PATCH] elm: Lets make it compile again. 2683:7: error: expected statement before ')' token SVN revision: 79881 --- legacy/elementary/src/lib/elm_win.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/legacy/elementary/src/lib/elm_win.c b/legacy/elementary/src/lib/elm_win.c index 5c2bd1bb62..18562dea19 100644 --- a/legacy/elementary/src/lib/elm_win.c +++ b/legacy/elementary/src/lib/elm_win.c @@ -2674,13 +2674,14 @@ _win_constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list) sd->wl.win = ecore_evas_wayland_window_get(sd->ee); #endif - if ((_elm_config->bgpixmap) + if ((_elm_config->bgpixmap) #ifdef HAVE_ELEMENTARY_X - && + && (((sd->x.xwin) && (!ecore_x_screen_is_composited(0))) || (!sd->x.xwin))) -#endif +#else ) +#endif TRAP(sd, avoid_damage_set, ECORE_EVAS_AVOID_DAMAGE_EXPOSE); // bg pixmap done by x - has other issues like can be redrawn by x before it // is filled/ready by app