summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-05-28 14:58:47 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-05-28 14:58:47 +0900
commit0638a71cd23dc284b4cfc247c87e8fc0268d3311 (patch)
tree156da0ce80fc3e96f31819fe2d1751520f4ef7af
parent34e4aff4eab4957bdb76396158e40ebc6347a75d (diff)
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.
-rw-r--r--src/lib/elm_win.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c
index 10b4d2e9e..b63b2b1c4 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)
1146static void 1146static void
1147_elm_win_profile_update(Elm_Win_Data *sd) 1147_elm_win_profile_update(Elm_Win_Data *sd)
1148{ 1148{
1149 if (getenv("ELM_PROFILE")) return;
1150
1149 if (sd->profile.available_list) 1151 if (sd->profile.available_list)
1150 { 1152 {
1151 Eina_Bool found = EINA_FALSE; 1153 Eina_Bool found = EINA_FALSE;