aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/elementary/src/lib/elm_win.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-07-25 22:17:52 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-07-25 22:17:52 +0900
commita5d5d0ec146937f5739e444f24f75b755e331043 (patch)
treed357f1e57d588031ff7bb9a0f1fda1f3c09226d4 /legacy/elementary/src/lib/elm_win.c
parentelm-player: do a whole bunch of work to make this a usable widget now. (diff)
downloadefl-a5d5d0ec146937f5739e444f24f75b755e331043.tar.gz
add throttle policy settings to elm
Diffstat (limited to 'legacy/elementary/src/lib/elm_win.c')
-rw-r--r--legacy/elementary/src/lib/elm_win.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/legacy/elementary/src/lib/elm_win.c b/legacy/elementary/src/lib/elm_win.c
index 525fea6c7a..4636b17556 100644
--- a/legacy/elementary/src/lib/elm_win.c
+++ b/legacy/elementary/src/lib/elm_win.c
@@ -290,7 +290,9 @@ _elm_win_state_eval(void *data __UNUSED__)
}
}
}
- if (_elm_config->auto_throttle)
+ if (((_elm_config->auto_throttle) &&
+ (elm_policy_get(ELM_POLICY_THROTTLE) != ELM_POLICY_THROTTLE_NEVER)) ||
+ (elm_policy_get(ELM_POLICY_THROTTLE) == ELM_POLICY_THROTTLE_HIDDEN_ALWAYS))
{
if (_elm_win_count == 0)
{