From 5b4f108d9c4a899b7be8079fc7190f556884ae9a Mon Sep 17 00:00:00 2001 From: Hannes Janetzek Date: Fri, 21 May 2010 04:30:44 +0000 Subject: [PATCH] fix bug with popups no showing up when using composite. seems to happen only on 'slow' machines SVN revision: 49082 --- src/bin/e_popup.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/bin/e_popup.c b/src/bin/e_popup.c index 764744f..752089d 100644 --- a/src/bin/e_popup.c +++ b/src/bin/e_popup.c @@ -85,7 +85,7 @@ e_popup_show(E_Popup *pop) E_OBJECT_TYPE_CHECK(pop, E_POPUP_TYPE); if (pop->visible) return; pop->visible = 1; - if (pop->shaped) + if (pop->shaped && !e_config->use_composite) { ecore_evas_move(pop->ecore_evas, pop->zone->container->manager->w, @@ -324,8 +324,7 @@ _e_popup_idle_enterer(void *data) pop->zone->x + pop->x, pop->zone->y + pop->y); - if (!(pop->shaped && e_config->use_composite)) - e_container_shape_show(pop->shape); + e_container_shape_show(pop->shape); pop->idle_enterer = NULL; return 0; -- 2.7.4