event            1915 lib/tty/key.c  tty_get_event (struct Gpm_Event *event, gboolean redo_event, gboolean block)
event            1940 lib/tty/key.c      if (event->x > 0)
event            1942 lib/tty/key.c          show_mouse_pointer (event->x, event->y);
event            1944 lib/tty/key.c              event->x = -1;
event            2056 lib/tty/key.c                          *event = ev;
event            2114 lib/tty/key.c          xmouse_get_event (event, extended);
event            2115 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             219 lib/widget/buttonbar.c buttonbar_mouse_callback (Widget *w, mouse_msg_t msg, mouse_event_t *event)
event             228 lib/widget/buttonbar.c             button = buttonbar_get_button_by_x_coord (bb, event->x);
event             113 lib/widget/check.c check_mouse_callback (Widget *w, mouse_msg_t msg, mouse_event_t *event)
event             115 lib/widget/check.c     (void) event;
event             264 lib/widget/dialog.c dlg_handle_mouse_event (Widget *w, Gpm_Event *event)
event             270 lib/widget/dialog.c         mou = mouse_handle_event (w, event);
event             275 lib/widget/dialog.c     return group_handle_mouse_event (w, event);
event             284 lib/widget/dialog.c     Gpm_Event event;
event             286 lib/widget/dialog.c     event.x = -1;
event             319 lib/widget/dialog.c         d_key = tty_get_event (&event, GROUP (h)->mouse_status == MOU_REPEAT, TRUE);
event             321 lib/widget/dialog.c         dlg_process_event (h, d_key, &event);
event             377 lib/widget/dialog.c dlg_default_mouse_callback (Widget *w, mouse_msg_t msg, mouse_event_t *event)
event             382 lib/widget/dialog.c         if (event->y < 0 || event->y >= w->rect.lines || event->x < 0 || event->x >= w->rect.cols)
event             391 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             115 lib/widget/dialog.h void dlg_process_event (WDialog * h, int key, Gpm_Event * event);
event             121 lib/widget/dialog.h void dlg_default_mouse_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event);
event             714 lib/widget/group.c group_handle_mouse_event (Widget *w, Gpm_Event *event)
event             736 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             898 lib/widget/input.c input_mouse_callback (Widget *w, mouse_msg_t msg, mouse_event_t *event)
event             909 lib/widget/input.c         if (event->x >= w->rect.cols - HISTORY_BUTTON_WIDTH && should_show_history_button (in))
event             915 lib/widget/input.c             input_set_point (in, input_screen_to_point (in, event->x));
event             926 lib/widget/input.c         input_set_point (in, input_screen_to_point (in, event->x));
event             506 lib/widget/listbox.c listbox_mouse_callback (Widget *w, mouse_msg_t msg, mouse_event_t *event)
event             517 lib/widget/listbox.c         listbox_set_current (l, listbox_y_pos (l, event->y));
event             529 lib/widget/listbox.c         event->result.repeat = TRUE;    /* It'd be functional even without this. */
event             530 lib/widget/listbox.c         listbox_set_current (l, listbox_y_pos (l, event->y));
event             535 lib/widget/listbox.c         if (event->count == GPM_DOUBLE) /* Double click */
event             776 lib/widget/menu.c menubar_mouse_callback (Widget *w, mouse_msg_t msg, mouse_event_t *event)
event             783 lib/widget/menu.c     mouse_on_drop = menubar_mouse_on_menu (menubar, event->y, event->x);
event             790 lib/widget/menu.c         if (event->y == 0)
event             795 lib/widget/menu.c             selected = menubar_get_menu_by_x_coord (menubar, event->x);
event             801 lib/widget/menu.c             menubar_change_selected_item (menubar, event->y);
event             832 lib/widget/menu.c         if ((event->buttons & GPM_B_MIDDLE) != 0 && event->y > 0 && menubar->is_dropped)
event             839 lib/widget/menu.c         else if (event->y > 0)
event             845 lib/widget/menu.c         if (event->y == 0)
event             848 lib/widget/menu.c             menubar_drop (menubar, menubar_get_menu_by_x_coord (menubar, event->x));
event             851 lib/widget/menu.c             menubar_change_selected_item (menubar, event->y);
event             862 lib/widget/menu.c             if (event->y == 0)
event              62 lib/widget/mouse.c init_mouse_event (mouse_event_t *event, mouse_msg_t msg, const Gpm_Event *global_gpm,
event              65 lib/widget/mouse.c     event->msg = msg;
event              66 lib/widget/mouse.c     event->x = global_gpm->x - w->rect.x - 1;   /* '-1' because Gpm_Event is 1-based. */
event              67 lib/widget/mouse.c     event->y = global_gpm->y - w->rect.y - 1;
event              68 lib/widget/mouse.c     event->count = global_gpm->type & (GPM_SINGLE | GPM_DOUBLE | GPM_TRIPLE);
event              69 lib/widget/mouse.c     event->buttons = global_gpm->buttons;
event              70 lib/widget/mouse.c     event->result.abort = FALSE;
event              71 lib/widget/mouse.c     event->result.repeat = FALSE;
event              85 lib/widget/mouse.c mouse_translate_event (Widget *w, Gpm_Event *event)
event              97 lib/widget/mouse.c     in_widget = w->mouse.forced_capture || mouse_global_in_widget (event, w);
event              99 lib/widget/mouse.c     if ((event->type & GPM_DOWN) != 0)
event             103 lib/widget/mouse.c             if ((event->buttons & GPM_B_UP) != 0)
event             105 lib/widget/mouse.c             else if ((event->buttons & GPM_B_DOWN) != 0)
event             118 lib/widget/mouse.c                 w->mouse.last_buttons_down = event->buttons;
event             122 lib/widget/mouse.c     else if ((event->type & GPM_UP) != 0)
event             140 lib/widget/mouse.c             if (event->buttons == 0)
event             141 lib/widget/mouse.c                 event->buttons = w->mouse.last_buttons_down;
event             144 lib/widget/mouse.c     else if ((event->type & GPM_DRAG) != 0)
event             149 lib/widget/mouse.c     else if ((event->type & GPM_MOVE) != 0)
event             155 lib/widget/mouse.c     init_mouse_event (&local, msg, event, w);
event             176 lib/widget/mouse.c mouse_process_event (Widget *w, mouse_event_t *event)
event             180 lib/widget/mouse.c     if (event->msg != MSG_MOUSE_NONE)
event             182 lib/widget/mouse.c         w->mouse_callback (w, event->msg, event);
event             186 lib/widget/mouse.c         if (event->msg == MSG_MOUSE_DOWN && event->result.abort)
event             191 lib/widget/mouse.c         if (event->msg == MSG_MOUSE_UP && w->mouse.last_msg == MSG_MOUSE_DOWN)
event             192 lib/widget/mouse.c             w->mouse_callback (w, MSG_MOUSE_CLICK, event);
event             195 lib/widget/mouse.c         w->mouse.last_msg = event->msg;
event             197 lib/widget/mouse.c         if (!event->result.abort)
event             198 lib/widget/mouse.c             ret = event->result.repeat ? MOU_REPEAT : MOU_NORMAL;
event             218 lib/widget/mouse.c mouse_handle_event (Widget *w, Gpm_Event *event)
event             222 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             191 lib/widget/radio.c radio_mouse_callback (Widget *w, mouse_msg_t msg, mouse_event_t *event)
event             196 lib/widget/radio.c         RADIO (w)->pos = event->y;
event             201 lib/widget/radio.c         RADIO (w)->pos = event->y;
event             172 lib/widget/widget-common.c widget_default_mouse_callback (Widget *w, mouse_msg_t msg, mouse_event_t *event)
event             177 lib/widget/widget-common.c     (void) event;
event             897 lib/widget/widget-common.c mouse_global_in_widget (const Gpm_Event *event, const Widget *w)
event             901 lib/widget/widget-common.c     return (event->x > r->x) && (event->y > r->y) && (event->x <= r->x + r->cols)
event             902 lib/widget/widget-common.c         && (event->y <= r->y + r->lines);
event             126 lib/widget/widget-common.h typedef void (*widget_mouse_cb_fn) (Widget * w, mouse_msg_t msg, mouse_event_t * event);
event             128 lib/widget/widget-common.h typedef int (*widget_mouse_handle_fn) (Widget * w, Gpm_Event * event);
event             241 lib/widget/widget-common.h gboolean mouse_global_in_widget (const Gpm_Event * event, const Widget * w);
event             654 lib/widget/wtools.c     Gpm_Event event;
event             676 lib/widget/wtools.c     event.x = -1;               /* Don't show the GPM cursor */
event             677 lib/widget/wtools.c     c = tty_get_event (&event, FALSE, sm->block);
event             684 lib/widget/wtools.c     dlg_process_event (sm->dlg, c, &event);
event            3270 src/diffviewer/ydiff.c dview_mouse_callback (Widget *w, mouse_msg_t msg, mouse_event_t *event)
event            3274 src/diffviewer/ydiff.c     (void) event;
event             702 src/editor/editwidget.c edit_update_cursor (WEdit *edit, const mouse_event_t *event)
event             707 src/editor/editwidget.c     x = event->x - (edit->fullscreen ? 0 : 1);
event             708 src/editor/editwidget.c     y = event->y - (edit->fullscreen ? 0 : 1);
event             710 src/editor/editwidget.c     if (edit->mark2 != -1 && event->msg == MSG_MOUSE_UP)
event             713 src/editor/editwidget.c     if (event->msg == MSG_MOUSE_DOWN || event->msg == MSG_MOUSE_UP)
event             745 src/editor/editwidget.c     if (event->msg == MSG_MOUSE_CLICK)
event             751 src/editor/editwidget.c     done = (event->msg != MSG_MOUSE_DRAG);
event             864 src/editor/editwidget.c edit_dialog_mouse_callback (Widget *w, mouse_msg_t msg, mouse_event_t *event)
event             868 src/editor/editwidget.c     if (msg == MSG_MOUSE_DOWN && event->y == 0)
event             892 src/editor/editwidget.c             if (top != NULL && event->x >= x)
event             903 src/editor/editwidget.c                 if (event->x - x <= 2)
event             917 src/editor/editwidget.c     event->result.abort = unhandled;
event            1014 src/editor/editwidget.c edit_mouse_handle_move_resize (Widget *w, mouse_msg_t msg, mouse_event_t *event)
event            1040 src/editor/editwidget.c     global_x = event->x + r->x;
event            1041 src/editor/editwidget.c     global_y = event->y + r->y;
event            1074 src/editor/editwidget.c edit_mouse_callback (Widget *w, mouse_msg_t msg, mouse_event_t *event)
event            1088 src/editor/editwidget.c         edit_mouse_handle_move_resize (w, msg, event);
event            1096 src/editor/editwidget.c     if (msg == MSG_MOUSE_DOWN && (event->y + w->rect.y == LINES - 1))
event            1098 src/editor/editwidget.c         event->result.abort = TRUE;
event            1111 src/editor/editwidget.c             if (event->y == 0)
event            1113 src/editor/editwidget.c                 if (event->x >= close_x - 1 && event->x <= close_x + 1)
event            1115 src/editor/editwidget.c                 else if (event->x >= toggle_fullscreen_x - 1 && event->x <= toggle_fullscreen_x + 1)
event            1122 src/editor/editwidget.c                     edit->drag_state_start = event->x;
event            1127 src/editor/editwidget.c             if (event->y == w->rect.lines - 1 && event->x == w->rect.cols - 1)
event            1138 src/editor/editwidget.c         edit_update_cursor (edit, event);
event            1143 src/editor/editwidget.c         if (event->y == 0)
event            1145 src/editor/editwidget.c             if (event->x >= close_x - 1 && event->x <= close_x + 1)
event            1147 src/editor/editwidget.c             else if (event->x >= toggle_fullscreen_x - 1 && event->x <= toggle_fullscreen_x + 1)
event            1149 src/editor/editwidget.c             else if (!edit->fullscreen && event->count == GPM_DOUBLE)
event            1153 src/editor/editwidget.c         else if (event->count == GPM_DOUBLE)
event            1159 src/editor/editwidget.c         else if (event->count == GPM_TRIPLE)
event            1168 src/editor/editwidget.c         edit_update_cursor (edit, event);
event             441 src/filemanager/achown.c perm_button_mouse_callback (Widget *w, mouse_msg_t msg, mouse_event_t *event)
event             447 src/filemanager/achown.c         BUTTON (w)->hotpos = CLAMP (event->x - 1, 0, 2);
event             451 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             869 src/filemanager/chattr.c         event->result.abort = TRUE;
event             770 src/filemanager/filegui.c     Gpm_Event event;
event             779 src/filemanager/filegui.c     event.x = -1;               /* Don't show the GPM cursor */
event             780 src/filemanager/filegui.c     c = tty_get_event (&event, FALSE, ctx->suspended);
event             787 src/filemanager/filegui.c     dlg_process_event (ui->op_dlg, c, &event);
event             980 src/filemanager/find.c     Gpm_Event event;
event             983 src/filemanager/find.c     event.x = -1;
event             984 src/filemanager/find.c     c = tty_get_event (&event, GROUP (h)->mouse_status == MOU_REPEAT, FALSE);
event             987 src/filemanager/find.c         dlg_process_event (h, c, &event);
event            3974 src/filemanager/panel.c mark_if_marking (WPanel *panel, const mouse_event_t *event, int previous_current)
event            3976 src/filemanager/panel.c     if ((event->buttons & GPM_B_RIGHT) == 0)
event            3979 src/filemanager/panel.c     if (event->msg == MSG_MOUSE_DOWN)
event            4085 src/filemanager/panel.c panel_mouse_callback (Widget *w, mouse_msg_t msg, mouse_event_t *event)
event            4095 src/filemanager/panel.c         if (event->y == 0)
event            4098 src/filemanager/panel.c             if (event->x == 1)
event            4101 src/filemanager/panel.c             else if (event->x == w->rect.cols - 2)
event            4104 src/filemanager/panel.c             else if (event->x >= w->rect.cols - 5 && event->x <= w->rect.cols - 3)
event            4107 src/filemanager/panel.c             else if (event->x == w->rect.cols - 6)
event            4113 src/filemanager/panel.c                 event->result.abort = TRUE;
event            4120 src/filemanager/panel.c         if (event->y == 1)
event            4123 src/filemanager/panel.c             mouse_sort_col (panel, event->x + 1);
event            4136 src/filemanager/panel.c             my_index = panel_mouse_is_on_item (panel, event->y - 2, event->x);
event            4143 src/filemanager/panel.c                 mark_if_marking (panel, event, previous_current);
event            4148 src/filemanager/panel.c                 mark_if_marking (panel, event, previous_current);
event            4162 src/filemanager/panel.c                 mark_if_marking (panel, event, previous_current);
event            4172 src/filemanager/panel.c         if ((event->count & GPM_DOUBLE) != 0 && (event->buttons & GPM_B_LEFT) != 0 &&
event            4173 src/filemanager/panel.c             panel_mouse_is_on_item (panel, event->y - 2, event->x) >= 0)
event            1219 src/filemanager/tree.c tree_mouse_callback (Widget *w, mouse_msg_t msg, mouse_event_t *event)
event            1224 src/filemanager/tree.c     y = event->y;
event            1232 src/filemanager/tree.c         if (tree->is_panel && event->y == WIDGET (w->owner)->rect.y)
event            1235 src/filemanager/tree.c             event->result.abort = TRUE;
event            1257 src/filemanager/tree.c             else if ((event->count & GPM_DOUBLE) != 0)
event             990 src/help.c     help_mouse_callback (Widget *w, mouse_msg_t msg, mouse_event_t *event)
event             998 src/help.c         if ((event->buttons & GPM_B_RIGHT) != 0)
event            1008 src/help.c         x = event->x - 1;
event            1009 src/help.c         y = event->y - 1;
event              91 src/viewer/mcviewer.c mcview_mouse_callback (Widget *w, mouse_msg_t msg, mouse_event_t *event)
event             102 src/viewer/mcviewer.c             if (event->y == WIDGET (w->owner)->rect.y)
event             105 src/viewer/mcviewer.c                 event->result.abort = TRUE;
event             125 src/viewer/mcviewer.c             x = event->x + 1;   /* FIXME */
event             130 src/viewer/mcviewer.c                 event->result.repeat = msg == MSG_MOUSE_DOWN;
event             140 src/viewer/mcviewer.c                 event->result.repeat = msg == MSG_MOUSE_DOWN;
event             148 src/viewer/mcviewer.c             y = event->y + 1;   /* FIXME */
event             157 src/viewer/mcviewer.c                 event->result.repeat = msg == MSG_MOUSE_DOWN;
event             171 src/viewer/mcviewer.c                 event->result.repeat = msg == MSG_MOUSE_DOWN;