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.
This commit is contained in:
Carsten Haitzler 2015-05-28 14:58:47 +09:00
parent 3ad9ee1cc7
commit da67a05a1c
1 changed files with 2 additions and 0 deletions

View File

@ -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;