block shelf autoshow if fullscreen client is present

T1232
This commit is contained in:
Mike Blumenkrantz 2014-05-07 16:04:48 -04:00
parent 3216d8e152
commit 157702c6d1
1 changed files with 6 additions and 0 deletions

View File

@ -1684,11 +1684,17 @@ _e_shelf_cb_mouse_in(void *data, int type, void *event)
if (type == E_EVENT_ZONE_EDGE_MOVE)
{
E_Event_Zone_Edge *ev;
E_Desk *desk;
Eina_List *l;
E_Client *ec;
int show = 0;
ev = event;
if (es->zone != ev->zone) return ECORE_CALLBACK_PASS_ON;
if (!_e_shelf_on_current_desk(es, ev)) return ECORE_CALLBACK_PASS_ON;
desk = e_desk_current_get(ev->zone);
EINA_LIST_FOREACH(desk->fullscreen_clients, l, ec)
if (evas_object_visible_get(ec->frame)) return ECORE_CALLBACK_RENEW;
ev->x -= es->zone->x, ev->y -= es->zone->y;
switch (es->gadcon->orient)