aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/efl_ui_win.c
diff options
context:
space:
mode:
authorCedric Bail <cedric@osg.samsung.com>2017-11-15 16:27:22 -0800
committerCedric Bail <cedric@osg.samsung.com>2017-11-15 16:29:14 -0800
commitbabcb0f1e43f808aca1aa9d99db9d473f7eff782 (patch)
treece093d19725ad57d6640ae91fd09a9383f35840b /src/lib/elementary/efl_ui_win.c
parentecore: should be the one triggering EFL_LOOP_EVENT_TERMINATE. (diff)
downloadefl-babcb0f1e43f808aca1aa9d99db9d473f7eff782.tar.gz
elementary: do not send a PAUSE event if not iconified.
Diffstat (limited to 'src/lib/elementary/efl_ui_win.c')
-rw-r--r--src/lib/elementary/efl_ui_win.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index 74a0950771..32d6fb5d19 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -512,7 +512,8 @@ _elm_win_state_eval(void *data EINA_UNUSED)
}
}
- efl_event_callback_call(obj, EFL_UI_WIN_EVENT_PAUSE, NULL);
+ if (elm_win_iconified_get(obj))
+ efl_event_callback_call(obj, EFL_UI_WIN_EVENT_PAUSE, NULL);
continue;
}
}