discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=52866a300af174ee949562a62ff32107f836fade

commit 52866a300af174ee949562a62ff32107f836fade
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Thu Nov 12 17:34:42 2015 -0500

    do not refill all tasks bars when a sticky window changes desks
---
 src/modules/tasks/e_mod_main.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/modules/tasks/e_mod_main.c b/src/modules/tasks/e_mod_main.c
index 59c4ba7..045f968 100644
--- a/src/modules/tasks/e_mod_main.c
+++ b/src/modules/tasks/e_mod_main.c
@@ -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;
 }
 

-- 


Reply via email to