only unset comp_hidden on windows after desk flips if the window is not shaded
authorMike Blumenkrantz <zmike@samsung.com>
Thu, 28 Nov 2013 16:02:02 +0000 (11:02 -0500)
committerMike Blumenkrantz <zmike@samsung.com>
Thu, 28 Nov 2013 16:02:02 +0000 (11:02 -0500)
ticket #onefang

src/bin/e_desk.c

index df69146..9dea938 100644 (file)
@@ -762,7 +762,7 @@ _e_desk_show_end(void *data, Evas_Object *obj EINA_UNUSED, const char *emission
    E_Border *bd = data;
 
    bd->desk->animate_count--;
-   e_border_comp_hidden_set(bd, EINA_FALSE);
+   e_border_comp_hidden_set(bd, bd->shaded);
    if (bd->desk != e_desk_current_get(bd->zone)) return;
    e_comp_win_effect_unclip(bd->cw);
    if (!bd->visible) e_border_show(bd);
@@ -776,7 +776,7 @@ _e_desk_hide_end(void *data, Evas_Object *obj EINA_UNUSED, const char *emission
    E_Border *bd = data;
 
    bd->desk->animate_count--;
-   e_border_comp_hidden_set(bd, EINA_FALSE);
+   e_border_comp_hidden_set(bd, bd->shaded);
    e_border_hide(bd, 2);
    if (bd->desk->animate_count) return;
    ecore_x_window_shadow_tree_flush();