aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/elementary/src/lib/elm_win.c
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
commitda67a05a1c399d43e7d3ee6860968750798b0db1 (patch)
tree9d842a686e5aa931219723c4e0c2f1b85c4a4cc4 /legacy/elementary/src/lib/elm_win.c
parentelm = fix window norender handling (diff)
downloadefl-da67a05a1c399d43e7d3ee6860968750798b0db1.tar.gz
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.
Diffstat (limited to 'legacy/elementary/src/lib/elm_win.c')
-rw-r--r--legacy/elementary/src/lib/elm_win.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/legacy/elementary/src/lib/elm_win.c b/legacy/elementary/src/lib/elm_win.c
index 10b4d2e9e3..b63b2b1c4d 100644
--- a/legacy/elementary/src/lib/elm_win.c
+++ b/legacy/elementary/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;