event            1932 lib/tty/key.c  tty_get_event (struct Gpm_Event *event, gboolean redo_event, gboolean block)
event            1957 lib/tty/key.c      if (event->x > 0)
event            1959 lib/tty/key.c          show_mouse_pointer (event->x, event->y);
event            1961 lib/tty/key.c              event->x = -1;
event            2073 lib/tty/key.c                          *event = ev;
event            2124 lib/tty/key.c          xmouse_get_event (event, c == MCKEY_EXTENDED_MOUSE);
event            2125 lib/tty/key.c          c = (event->type != 0) ? EV_MOUSE : EV_NONE;
event              81 lib/tty/key.h  int tty_get_event (struct Gpm_Event *event, gboolean redo_event, gboolean block);
event             184 lib/widget/button.c button_mouse_default_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event)
event             186 lib/widget/button.c     (void) event;
event              54 lib/widget/button.h void button_mouse_default_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event);
event             216 lib/widget/buttonbar.c buttonbar_mouse_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event)
event             225 lib/widget/buttonbar.c             button = buttonbar_get_button_by_x_coord (bb, event->x);
event             109 lib/widget/check.c check_mouse_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event)
event             111 lib/widget/check.c     (void) event;
event             261 lib/widget/dialog.c dlg_handle_mouse_event (Widget * w, Gpm_Event * event)
event             267 lib/widget/dialog.c         mou = mouse_handle_event (w, event);
event             272 lib/widget/dialog.c     return group_handle_mouse_event (w, event);
event             281 lib/widget/dialog.c     Gpm_Event event;
event             283 lib/widget/dialog.c     event.x = -1;
event             316 lib/widget/dialog.c         d_key = tty_get_event (&event, GROUP (h)->mouse_status == MOU_REPEAT, TRUE);
event             318 lib/widget/dialog.c         dlg_process_event (h, d_key, &event);
event             348 lib/widget/dialog.c dlg_default_mouse_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event)
event             353 lib/widget/dialog.c         if (event->y < 0 || event->y >= w->lines || event->x < 0 || event->x >= w->cols)
event             362 lib/widget/dialog.c         event->result.abort = TRUE;
event             521 lib/widget/dialog.c dlg_process_event (WDialog * h, int key, Gpm_Event * event)
event             534 lib/widget/dialog.c             GROUP (h)->mouse_status = w->mouse_handler (w, event);
event             112 lib/widget/dialog.h void dlg_process_event (WDialog * h, int key, Gpm_Event * event);
event             118 lib/widget/dialog.h void dlg_default_mouse_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event);
event             643 lib/widget/group.c group_handle_mouse_event (Widget * w, Gpm_Event * event)
event             662 lib/widget/group.c                 ret = wp->mouse_handler (wp, event);
event              47 lib/widget/group.h int group_handle_mouse_event (Widget * w, Gpm_Event * event);
event             934 lib/widget/input.c input_mouse_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event)
event             946 lib/widget/input.c         if (event->x >= w->cols - HISTORY_BUTTON_WIDTH && should_show_history_button (in))
event             951 lib/widget/input.c             input_set_point (in, input_screen_to_point (in, event->x));
event             962 lib/widget/input.c         input_set_point (in, input_screen_to_point (in, event->x));
event             501 lib/widget/listbox.c listbox_mouse_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event)
event             512 lib/widget/listbox.c         listbox_select_entry (l, listbox_y_pos (l, event->y));
event             524 lib/widget/listbox.c         event->result.repeat = TRUE;    /* It'd be functional even without this. */
event             525 lib/widget/listbox.c         listbox_select_entry (l, listbox_y_pos (l, event->y));
event             530 lib/widget/listbox.c         if (event->count == GPM_DOUBLE) /* Double click */
event             756 lib/widget/menu.c menubar_mouse_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event)
event             763 lib/widget/menu.c     mouse_on_drop = menubar_mouse_on_menu (menubar, event->y, event->x);
event             770 lib/widget/menu.c         if (event->y == 0)
event             775 lib/widget/menu.c             selected = menubar_get_menu_by_x_coord (menubar, event->x);
event             781 lib/widget/menu.c             menubar_change_selected_item (menubar, event->y);
event             812 lib/widget/menu.c         if ((event->buttons & GPM_B_MIDDLE) != 0 && event->y > 0 && menubar->is_dropped)
event             819 lib/widget/menu.c         else if (event->y > 0)
event             825 lib/widget/menu.c         if (event->y == 0)
event             828 lib/widget/menu.c             menubar_drop (menubar, menubar_get_menu_by_x_coord (menubar, event->x));
event             831 lib/widget/menu.c             menubar_change_selected_item (menubar, event->y);
event             842 lib/widget/menu.c             if (event->y == 0)
event              60 lib/widget/mouse.c init_mouse_event (mouse_event_t * event, mouse_msg_t msg, const Gpm_Event * global_gpm,
event              63 lib/widget/mouse.c     event->msg = msg;
event              64 lib/widget/mouse.c     event->x = global_gpm->x - w->x - 1;        /* '-1' because Gpm_Event is 1-based. */
event              65 lib/widget/mouse.c     event->y = global_gpm->y - w->y - 1;
event              66 lib/widget/mouse.c     event->count = global_gpm->type & (GPM_SINGLE | GPM_DOUBLE | GPM_TRIPLE);
event              67 lib/widget/mouse.c     event->buttons = global_gpm->buttons;
event              68 lib/widget/mouse.c     event->result.abort = FALSE;
event              69 lib/widget/mouse.c     event->result.repeat = FALSE;
event              83 lib/widget/mouse.c mouse_translate_event (Widget * w, Gpm_Event * event)
event              95 lib/widget/mouse.c     in_widget = w->mouse.forced_capture || mouse_global_in_widget (event, w);
event              97 lib/widget/mouse.c     if ((event->type & GPM_DOWN) != 0)
event             101 lib/widget/mouse.c             if ((event->buttons & GPM_B_UP) != 0)
event             103 lib/widget/mouse.c             else if ((event->buttons & GPM_B_DOWN) != 0)
event             116 lib/widget/mouse.c                 w->mouse.last_buttons_down = event->buttons;
event             120 lib/widget/mouse.c     else if ((event->type & GPM_UP) != 0)
event             138 lib/widget/mouse.c             if (event->buttons == 0)
event             139 lib/widget/mouse.c                 event->buttons = w->mouse.last_buttons_down;
event             142 lib/widget/mouse.c     else if ((event->type & GPM_DRAG) != 0)
event             147 lib/widget/mouse.c     else if ((event->type & GPM_MOVE) != 0)
event             153 lib/widget/mouse.c     init_mouse_event (&local, msg, event, w);
event             174 lib/widget/mouse.c mouse_process_event (Widget * w, mouse_event_t * event)
event             178 lib/widget/mouse.c     if (event->msg != MSG_MOUSE_NONE)
event             180 lib/widget/mouse.c         w->mouse_callback (w, event->msg, event);
event             184 lib/widget/mouse.c         if (event->msg == MSG_MOUSE_DOWN && event->result.abort)
event             189 lib/widget/mouse.c         if (event->msg == MSG_MOUSE_UP && w->mouse.last_msg == MSG_MOUSE_DOWN)
event             190 lib/widget/mouse.c             w->mouse_callback (w, MSG_MOUSE_CLICK, event);
event             193 lib/widget/mouse.c         w->mouse.last_msg = event->msg;
event             195 lib/widget/mouse.c         if (!event->result.abort)
event             196 lib/widget/mouse.c             ret = event->result.repeat ? MOU_REPEAT : MOU_NORMAL;
event             216 lib/widget/mouse.c mouse_handle_event (Widget * w, Gpm_Event * event)
event             220 lib/widget/mouse.c     me = mouse_translate_event (w, event);
event              61 lib/widget/mouse.h int mouse_handle_event (Widget * w, Gpm_Event * event);
event             189 lib/widget/radio.c radio_mouse_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event)
event             194 lib/widget/radio.c         RADIO (w)->pos = event->y;
event             199 lib/widget/radio.c         RADIO (w)->pos = event->y;
event             173 lib/widget/widget-common.c widget_default_mouse_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event)
event             178 lib/widget/widget-common.c     (void) event;
event             818 lib/widget/widget-common.c mouse_global_in_widget (const Gpm_Event * event, const Widget * w)
event             820 lib/widget/widget-common.c     return (event->x > w->x) && (event->y > w->y) && (event->x <= w->x + w->cols)
event             821 lib/widget/widget-common.c         && (event->y <= w->y + w->lines);
event             125 lib/widget/widget-common.h typedef void (*widget_mouse_cb_fn) (Widget * w, mouse_msg_t msg, mouse_event_t * event);
event             127 lib/widget/widget-common.h typedef int (*widget_mouse_handle_fn) (Widget * w, Gpm_Event * event);
event             229 lib/widget/widget-common.h gboolean mouse_global_in_widget (const Gpm_Event * event, const Widget * w);
event             647 lib/widget/wtools.c     Gpm_Event event;
event             669 lib/widget/wtools.c     event.x = -1;               /* Don't show the GPM cursor */
event             670 lib/widget/wtools.c     c = tty_get_event (&event, FALSE, sm->block);
event             677 lib/widget/wtools.c     dlg_process_event (sm->dlg, c, &event);
event            3355 src/diffviewer/ydiff.c dview_mouse_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event)
event            3359 src/diffviewer/ydiff.c     (void) event;
event             686 src/editor/editwidget.c edit_update_cursor (WEdit * edit, const mouse_event_t * event)
event             691 src/editor/editwidget.c     x = event->x - (edit->fullscreen ? 0 : 1);
event             692 src/editor/editwidget.c     y = event->y - (edit->fullscreen ? 0 : 1);
event             694 src/editor/editwidget.c     if (edit->mark2 != -1 && event->msg == MSG_MOUSE_UP)
event             697 src/editor/editwidget.c     if (event->msg == MSG_MOUSE_DOWN || event->msg == MSG_MOUSE_UP)
event             729 src/editor/editwidget.c     if (event->msg == MSG_MOUSE_CLICK)
event             735 src/editor/editwidget.c     done = (event->msg != MSG_MOUSE_DRAG);
event             848 src/editor/editwidget.c edit_dialog_mouse_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event)
event             852 src/editor/editwidget.c     if (msg == MSG_MOUSE_DOWN && event->y == 0)
event             877 src/editor/editwidget.c             if (top != NULL && event->x >= x)
event             888 src/editor/editwidget.c                 if (event->x - x <= 2)
event             902 src/editor/editwidget.c     event->result.abort = unhandled;
event            1006 src/editor/editwidget.c edit_mouse_handle_move_resize (Widget * w, mouse_msg_t msg, mouse_event_t * event)
event            1031 src/editor/editwidget.c     global_x = event->x + w->x;
event            1032 src/editor/editwidget.c     global_y = event->y + w->y;
event            1065 src/editor/editwidget.c edit_mouse_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event)
event            1079 src/editor/editwidget.c         edit_mouse_handle_move_resize (w, msg, event);
event            1087 src/editor/editwidget.c     if (msg == MSG_MOUSE_DOWN && (event->y + w->y == LINES - 1))
event            1089 src/editor/editwidget.c         event->result.abort = TRUE;
event            1102 src/editor/editwidget.c             if (event->y == 0)
event            1104 src/editor/editwidget.c                 if (event->x >= close_x - 1 && event->x <= close_x + 1)
event            1106 src/editor/editwidget.c                 else if (event->x >= toggle_fullscreen_x - 1 && event->x <= toggle_fullscreen_x + 1)
event            1113 src/editor/editwidget.c                     edit->drag_state_start = event->x;
event            1118 src/editor/editwidget.c             if (event->y == w->lines - 1 && event->x == w->cols - 1)
event            1129 src/editor/editwidget.c         edit_update_cursor (edit, event);
event            1134 src/editor/editwidget.c         if (event->y == 0)
event            1136 src/editor/editwidget.c             if (event->x >= close_x - 1 && event->x <= close_x + 1)
event            1138 src/editor/editwidget.c             else if (event->x >= toggle_fullscreen_x - 1 && event->x <= toggle_fullscreen_x + 1)
event            1140 src/editor/editwidget.c             else if (!edit->fullscreen && event->count == GPM_DOUBLE)
event            1144 src/editor/editwidget.c         else if (event->count == GPM_DOUBLE)
event            1150 src/editor/editwidget.c         else if (event->count == GPM_TRIPLE)
event            1159 src/editor/editwidget.c         edit_update_cursor (edit, event);
event             442 src/filemanager/achown.c perm_button_mouse_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event)
event             448 src/filemanager/achown.c         BUTTON (w)->hotpos = CLAMP (event->x - 1, 0, 2);
event             452 src/filemanager/achown.c         button_mouse_default_callback (w, msg, event);
event             837 src/filemanager/chattr.c chattrboxes_handle_mouse_event (Widget * w, Gpm_Event * event)
event             841 src/filemanager/chattr.c     mou = mouse_handle_event (w, event);
event             843 src/filemanager/chattr.c         mou = group_handle_mouse_event (w, event);
event             851 src/filemanager/chattr.c chattrboxes_mouse_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event)
event             855 src/filemanager/chattr.c     (void) event;
event             749 src/filemanager/filegui.c     Gpm_Event event;
event             758 src/filemanager/filegui.c     event.x = -1;               /* Don't show the GPM cursor */
event             759 src/filemanager/filegui.c     c = tty_get_event (&event, FALSE, ctx->suspended);
event             766 src/filemanager/filegui.c     dlg_process_event (ui->op_dlg, c, &event);
event             952 src/filemanager/find.c     Gpm_Event event;
event             955 src/filemanager/find.c     event.x = -1;
event             956 src/filemanager/find.c     c = tty_get_event (&event, GROUP (h)->mouse_status == MOU_REPEAT, FALSE);
event             959 src/filemanager/find.c         dlg_process_event (h, c, &event);
event            3743 src/filemanager/panel.c mark_if_marking (WPanel * panel, const mouse_event_t * event)
event            3745 src/filemanager/panel.c     if ((event->buttons & GPM_B_RIGHT) != 0)
event            3747 src/filemanager/panel.c         if (event->msg == MSG_MOUSE_DOWN)
event            3843 src/filemanager/panel.c panel_mouse_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event)
event            3853 src/filemanager/panel.c         if (event->y == 0)
event            3856 src/filemanager/panel.c             if (event->x == 1)
event            3859 src/filemanager/panel.c             else if (event->x == w->cols - 2)
event            3862 src/filemanager/panel.c             else if (event->x >= w->cols - 5 && event->x <= w->cols - 3)
event            3865 src/filemanager/panel.c             else if (event->x == w->cols - 6)
event            3871 src/filemanager/panel.c                 event->result.abort = TRUE;
event            3878 src/filemanager/panel.c         if (event->y == 1)
event            3881 src/filemanager/panel.c             mouse_sort_col (panel, event->x + 1);
event            3893 src/filemanager/panel.c             my_index = panel_mouse_is_on_item (panel, event->y - 2, event->x);
event            3904 src/filemanager/panel.c                 mark_if_marking (panel, event);
event            3913 src/filemanager/panel.c         if ((event->count & GPM_DOUBLE) != 0 && (event->buttons & GPM_B_LEFT) != 0 &&
event            3914 src/filemanager/panel.c             panel_mouse_is_on_item (panel, event->y - 2, event->x) >= 0)
event            1220 src/filemanager/tree.c tree_mouse_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event)
event            1225 src/filemanager/tree.c     y = event->y;
event            1233 src/filemanager/tree.c         if (tree->is_panel && event->y == WIDGET (w->owner)->y)
event            1236 src/filemanager/tree.c             event->result.abort = TRUE;
event            1258 src/filemanager/tree.c             else if ((event->count & GPM_DOUBLE) != 0)
event             987 src/help.c     help_mouse_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event)
event             995 src/help.c         if ((event->buttons & GPM_B_RIGHT) != 0)
event            1005 src/help.c         x = event->x - 1;
event            1006 src/help.c         y = event->y - 1;
event              89 src/viewer/mcviewer.c mcview_mouse_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event)
event              99 src/viewer/mcviewer.c             if (event->y == WIDGET (w->owner)->y)
event             102 src/viewer/mcviewer.c                 event->result.abort = TRUE;
event             122 src/viewer/mcviewer.c             x = event->x + 1;   /* FIXME */
event             127 src/viewer/mcviewer.c                 event->result.repeat = msg == MSG_MOUSE_DOWN;
event             137 src/viewer/mcviewer.c                 event->result.repeat = msg == MSG_MOUSE_DOWN;
event             145 src/viewer/mcviewer.c             y = event->y + 1;   /* FIXME */
event             154 src/viewer/mcviewer.c                 event->result.repeat = msg == MSG_MOUSE_DOWN;
event             168 src/viewer/mcviewer.c                 event->result.repeat = msg == MSG_MOUSE_DOWN;