discomfitor pushed a commit to branch enlightenment-0.19.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=858995d6b201b907d069334af90cae1b34f1c341

commit 858995d6b201b907d069334af90cae1b34f1c341
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 ac73e36..5ed0031 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);
@@ -972,9 +972,10 @@ _tasks_cb_event_client_zone_set(void *data __UNUSED__, int 
type __UNUSED__, void
 }
 
 static Eina_Bool
-_tasks_cb_event_client_desk_set(void *data __UNUSED__, int type __UNUSED__, 
void *event __UNUSED__)
+_tasks_cb_event_client_desk_set(void *data __UNUSED__, int type __UNUSED__, 
E_Event_Client *ev)
 {
-   _tasks_refill_all();
+   if (!ev->ec->sticky)
+     _tasks_refill_all();
    return EINA_TRUE;
 }
 

-- 


Reply via email to