Ticket #54: dlg_mouse_event-skip-widget-w-o-action.patch
File dlg_mouse_event-skip-widget-w-o-action.patch, 474 bytes (added by sfionov, 15 years ago) |
---|
-
src/dialog.c
diff --git a/src/dialog.c b/src/dialog.c index 50e1efa..3290d50 100644
a b dlg_mouse_event (Dlg_head * h, Gpm_Event * event) 764 764 new_event.x -= widget->x; 765 765 new_event.y -= widget->y; 766 766 767 if (!widget->mouse) 768 return MOU_NORMAL; 769 770 return (*widget->mouse) (&new_event, widget); 767 if (widget->mouse) 768 return (*widget->mouse) (&new_event, widget); 771 769 } while (item != starting_widget); 772 770 773 771 return MOU_NORMAL;