e_int_client_menu: fix window visibility problem during moving to current desktop

Summary:
When visible window was moved from invisible desktop to current desktop via ibar, the window was not shown.

Fixes T1336

Test Plan: open window on 0-0 (desktop) -> goto 1-0 -> move window to 1-0 by using ibar -> check whether window is shown or not

Reviewers: zmike, raster

CC: seoz, cedric

Maniphest Tasks: T1336

Differential Revision: https://phab.enlightenment.org/D1038
This commit is contained in:
wonguk.jeong 2014-06-16 11:55:02 -04:00 committed by Mike Blumenkrantz
parent 3bb96a77f0
commit 9dac6785bc
1 changed files with 4 additions and 1 deletions

View File

@ -1017,7 +1017,10 @@ _e_client_menu_cb_sendto(void *data, E_Menu *m, E_Menu_Item *mi __UNUSED__)
desk = data;
ec = e_object_data_get(E_OBJECT(m));
if ((ec) && (desk))
e_client_desk_set(ec, desk);
{
ec->hidden = 0;
e_client_desk_set(ec, desk);
}
}
static void