Eina_List *_elm_win_list = NULL;
int _elm_win_deferred_free = 0;
+static Eina_Bool _elm_win_throttle_ok = EINA_FALSE;
static int _elm_win_count = 0;
// TIZEN_ONLY(20160218): Improve launching performance.
throttle = EINA_TRUE;
if (_elm_win_count == 0)
{
- if (_elm_win_auto_throttled)
+ if ((_elm_win_throttle_ok) && (_elm_win_auto_throttled))
{
_elm_process_state = ELM_PROCESS_STATE_FOREGROUND;
ecore_event_add(ELM_EVENT_PROCESS_FOREGROUND, NULL, NULL, NULL);
}
if (_elm_win_count_shown <= 0)
{
- if (!_elm_win_auto_throttled)
+ if ((_elm_win_throttle_ok) && (!_elm_win_auto_throttled))
{
_elm_process_state = ELM_PROCESS_STATE_BACKGROUND;
ecore_event_add(ELM_EVENT_PROCESS_BACKGROUND, NULL, NULL, NULL);
}
else
{
- if (_elm_win_auto_throttled)
+ if ((_elm_win_throttle_ok) && (_elm_win_auto_throttled))
{
_elm_process_state = ELM_PROCESS_STATE_FOREGROUND;
ecore_event_add(ELM_EVENT_PROCESS_FOREGROUND, NULL, NULL, NULL);
Elm_Win_Data *sd = _elm_win_associate_get(ee);
if (!sd) return;
+ _elm_win_throttle_ok = EINA_TRUE;
if (sd->resizing) sd->resizing = EINA_FALSE;
}
if ((!sd) || (sd->modal_count)) return;
+ _elm_win_throttle_ok = EINA_TRUE;
obj = sd->obj;
_elm_widget_top_win_focused_set(obj, EINA_TRUE);