forked from enlightenment/efl
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:
parent
3ad9ee1cc7
commit
da67a05a1c
|
@ -1146,6 +1146,8 @@ _internal_elm_win_profile_set(Elm_Win_Data *sd, const char *profile)
|
||||||
static void
|
static void
|
||||||
_elm_win_profile_update(Elm_Win_Data *sd)
|
_elm_win_profile_update(Elm_Win_Data *sd)
|
||||||
{
|
{
|
||||||
|
if (getenv("ELM_PROFILE")) return;
|
||||||
|
|
||||||
if (sd->profile.available_list)
|
if (sd->profile.available_list)
|
||||||
{
|
{
|
||||||
Eina_Bool found = EINA_FALSE;
|
Eina_Bool found = EINA_FALSE;
|
||||||
|
|
Loading…
Reference in New Issue