fix bug with popups no showing up when using composite. seems to happen only on ...
authorHannes Janetzek <hannes.janetzek@gmail.com>
Fri, 21 May 2010 04:30:44 +0000 (04:30 +0000)
committerHannes Janetzek <hannes.janetzek@gmail.com>
Fri, 21 May 2010 04:30:44 +0000 (04:30 +0000)
SVN revision: 49082

src/bin/e_popup.c

index 764744f..752089d 100644 (file)
@@ -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;