Summary: In win.edc add blocker for its content and programs for it. Add Eina_Bool blocked and was_enabled to _Elm_Menu_Item for correctly blocking and unblocking of main_menu. They used for saving state which was before modal win was apeared. Add callbacks and private functions in menu.c for blocking and unblocking menu. Add integer modal_count to Elm_Win_Smart_Data for creating enum of modal wins. Add changes in win.c for blocking content, in_focus callback and menu while modal win is exist.
Reviewers: cedric, seoz, raster
Reviewed By: raster
CC: reutskiy.v.v, raster
Differential Revision: https://phab.enlightenment.org/D607
aedef31 elementary: when modal win appears another wins are blocked
data/themes/edc/elm/win.edc | 24 +++++++++++++
src/lib/elm_menu.c | 31 ++++++++++++++++
src/lib/elm_widget_menu.h | 2 ++
src/lib/elm_win.c | 83 +++++++++++++++++++++++++++++++++++++++++--
4 files changed, 138 insertions(+), 2 deletions(-)
Upstream: git.enlightenment.org