remove invalid shelf autohide window check which would always be wrong
This commit is contained in:
parent
42f43c9311
commit
18120e1b5a
|
@ -1785,9 +1785,6 @@ _e_shelf_cb_mouse_in(void *data, int type, void *event)
|
|||
* mouse in/out events. in the future, when we remove systray, we should go
|
||||
* back to mouse in/out events
|
||||
*/
|
||||
inside = (ev->event_window == e_comp_get(es)->win);
|
||||
if (!inside)
|
||||
{
|
||||
inside = E_INSIDE(e_comp_canvas_x_root_adjust(e_comp_get(es), ev->root.x),
|
||||
e_comp_canvas_x_root_adjust(e_comp_get(es), ev->root.y),
|
||||
es->zone->x, es->zone->y, es->zone->w + 4, es->zone->h + 4);
|
||||
|
@ -1806,7 +1803,6 @@ _e_shelf_cb_mouse_in(void *data, int type, void *event)
|
|||
else
|
||||
es->autohide_timer = ecore_timer_add(0.5, (Ecore_Task_Cb)_e_shelf_cb_mouse_move_autohide_fuck_systray, es);
|
||||
}
|
||||
}
|
||||
if (inside)
|
||||
{
|
||||
if (es->hidden || (!es->toggle))
|
||||
|
|
Loading…
Reference in New Issue