summaryrefslogtreecommitdiff
path: root/src/events.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/events.c')
-rw-r--r--src/events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/events.c b/src/events.c
index 54321be..b634e6f 100644
--- a/src/events.c
+++ b/src/events.c
@@ -374,7 +374,7 @@ static void feh_event_handle_MotionNotify(XEvent * ev)
if (selected_item)
feh_menu_deselect_selected(m);
if ((mouseover_item)
- && ((mouseover_item->func)
+ && ((mouseover_item->action)
|| (mouseover_item->submenu)
|| (mouseover_item->func_gen_sub)))
feh_menu_select(m, mouseover_item);