raster pushed a commit to branch elementary-1.14.

http://git.enlightenment.org/core/elementary.git/commit/?id=2b66339bad6f17cc70e3bdf9d4fd55e364aa7438

commit 2b66339bad6f17cc70e3bdf9d4fd55e364aa7438
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Thu May 28 14:58:47 2015 +0900

    elm - fix profile handling if ELM_PROFILE is set - dont listen to x msg
    
    @fix
    
    don't listen to x profile set msg if ELM_PROFILE env var is used -
    this overrides.
---
 src/lib/elm_win.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c
index cdf812a..410eac9 100644
--- a/src/lib/elm_win.c
+++ b/src/lib/elm_win.c
@@ -1127,6 +1127,8 @@ _internal_elm_win_profile_set(Elm_Win_Data *sd, const 
char *profile)
 static void
 _elm_win_profile_update(Elm_Win_Data *sd)
 {
+   if (getenv("ELM_PROFILE")) return;
+
    if (sd->profile.available_list)
      {
         Eina_Bool found = EINA_FALSE;

-- 


Reply via email to