discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=78334b615ed1aef8e22b7742ba5f6de6c4eda154

commit 78334b615ed1aef8e22b7742ba5f6de6c4eda154
Author: Mike Blumenkrantz <[email protected]>
Date:   Thu Feb 6 12:59:12 2014 -0500

    more stringshare improvements for window profile, apply window profile if 
no desk set (impossible?)
---
 src/bin/e_comp_x.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c
index 13a4149..d192e13 100644
--- a/src/bin/e_comp_x.c
+++ b/src/bin/e_comp_x.c
@@ -1918,9 +1918,9 @@ _e_comp_x_message(void *data EINA_UNUSED, int type 
EINA_UNUSED, Ecore_X_Event_Cl
 
              ec->e.state.profile.wait_for_done = 0;
 
-             if (ec->desk && e_util_strcmp(ec->desk->window_profile, profile))
+             if ((!ec->desk) || e_util_strcmp(ec->desk->window_profile, 
ec->e.state.profile.name))
                {
-                  desk = e_comp_desk_window_profile_get(ec->comp, profile);
+                  desk = e_comp_desk_window_profile_get(ec->comp, 
ec->e.state.profile.name);
                   if (desk)
                     e_client_desk_set(ec, desk);
                }

-- 


Reply via email to