From bb24f4638a60afb656b34ea05ab3935d529c7789 Mon Sep 17 00:00:00 2001 From: raster Date: Mon, 13 Sep 2010 22:16:26 +0000 Subject: [PATCH] fix first map bug handling to handle more than first window map. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@52200 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/ecore_evas/ecore_evas_x.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/ecore_evas/ecore_evas_x.c b/src/lib/ecore_evas/ecore_evas_x.c index be26bbf..af57938 100644 --- a/src/lib/ecore_evas/ecore_evas_x.c +++ b/src/lib/ecore_evas/ecore_evas_x.c @@ -1005,10 +1005,10 @@ _ecore_evas_x_event_window_show(void *data __UNUSED__, int type __UNUSED__, void first_map_bug = atoi(getenv("ECORE_EVAS_GL_FIRST_MAP_BUG")); else first_map_bug = 0; - if ((first_map_bug) && - (!strcmp(ee->driver, "opengl_x11"))) - evas_damage_rectangle_add(ee->evas, 0, 0, ee->w, ee->h); } + if ((first_map_bug) && + (!strcmp(ee->driver, "opengl_x11"))) + evas_damage_rectangle_add(ee->evas, 0, 0, ee->w, ee->h); if (ee->visible) return ECORE_CALLBACK_DONE; // printf("SHOW EVENT %p\n", ee); ee->visible = 1; -- 2.7.4