raster pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=0638a71cd23dc284b4cfc247c87e8fc0268d3311

commit 0638a71cd23dc284b4cfc247c87e8fc0268d3311
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 10b4d2e..b63b2b1 100644
--- a/src/lib/elm_win.c
+++ b/src/lib/elm_win.c
@@ -1146,6 +1146,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