missing a break statement
This commit is contained in:
parent
e40624b5c1
commit
ab75dd8672
1 changed files with 2 additions and 0 deletions
|
@ -1632,6 +1632,7 @@ static gboolean event_handle_menu(XEvent *ev)
|
||||||
break;
|
break;
|
||||||
case EnterNotify:
|
case EnterNotify:
|
||||||
if ((e = g_hash_table_lookup(menu_frame_map, &ev->xcrossing.window))) {
|
if ((e = g_hash_table_lookup(menu_frame_map, &ev->xcrossing.window))) {
|
||||||
|
g_print("ignore enters: %d\n", e->ignore_enters);
|
||||||
if (e->ignore_enters)
|
if (e->ignore_enters)
|
||||||
--e->ignore_enters;
|
--e->ignore_enters;
|
||||||
else
|
else
|
||||||
|
@ -1645,6 +1646,7 @@ static gboolean event_handle_menu(XEvent *ev)
|
||||||
{
|
{
|
||||||
menu_frame_select(e->frame, NULL, FALSE);
|
menu_frame_select(e->frame, NULL, FALSE);
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
case MotionNotify:
|
case MotionNotify:
|
||||||
if ((e = menu_entry_frame_under(ev->xmotion.x_root,
|
if ((e = menu_entry_frame_under(ev->xmotion.x_root,
|
||||||
ev->xmotion.y_root)))
|
ev->xmotion.y_root)))
|
||||||
|
|
Loading…
Reference in a new issue