enlightenment/src
Duna Oh 576ec9bdc4 fix crash when activating menu that is not in range
Summary: add the condition check code if the pressed key is not in range of menu items

Test Plan:
(1) Left-click on the desktop to bring up the menu.
(2) Press down the number key to activate the menu item.
(3) When you press down the number key that is not in range, you will see the segmentation error.

below is the crash log which I encoutered.
-------------------------------------------------------------------
Program received signal SIGSEGV, Segmentation fault.
_e_menu_item_activate_nth (n=n@entry=5) at src/bin/e_menu.c:2318
2318       _e_menu_item_ensure_onscreen(mi);

Reviewers: zmike, gwanglim, raster

Reviewed By: raster

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1845
2015-01-09 14:51:40 +09:00
..
bin fix crash when activating menu that is not in range 2015-01-09 14:51:40 +09:00
modules fix issue where wayland modules were always creating a new compositor 2015-01-06 13:04:04 -05:00
tests add activate test 2014-06-17 09:38:41 -04:00
Makefile.mk feature: use non-recursive makefiles for entire build system 2014-01-14 20:22:01 -05:00