do not refill all tasks bars when a sticky window changes desks

This commit is contained in:
Mike Blumenkrantz 2015-11-12 17:34:42 -05:00
parent 846ff6c068
commit 52866a300a
1 changed files with 4 additions and 3 deletions

View File

@ -82,7 +82,7 @@ static Eina_Bool _tasks_cb_event_client_uniconify(void *data, int type, void
static Eina_Bool _tasks_cb_event_client_icon_change(void *data, int type, void *event);
static Eina_Bool _tasks_cb_event_client_title_change(void *data, int type, void *event);
static Eina_Bool _tasks_cb_event_client_zone_set(void *data, int type, void *event);
static Eina_Bool _tasks_cb_event_client_desk_set(void *data, int type, void *event);
static Eina_Bool _tasks_cb_event_client_desk_set(void *data, int type, E_Event_Client *ev);
static Eina_Bool _tasks_cb_window_focus_in(void *data, int type, void *event);
static Eina_Bool _tasks_cb_window_focus_out(void *data, int type, void *event);
static Eina_Bool _tasks_cb_event_desk_show(void *data, int type, void *event);
@ -967,9 +967,10 @@ _tasks_cb_event_client_zone_set(void *data EINA_UNUSED, int type EINA_UNUSED, vo
}
static Eina_Bool
_tasks_cb_event_client_desk_set(void *data EINA_UNUSED, int type EINA_UNUSED, void *event EINA_UNUSED)
_tasks_cb_event_client_desk_set(void *data EINA_UNUSED, int type EINA_UNUSED, E_Event_Client *ev)
{
_tasks_refill_all();
if (!ev->ec->sticky)
_tasks_refill_all();
return EINA_TRUE;
}