event            1935 lib/tty/key.c  tty_get_event (struct Gpm_Event *event, gboolean redo_event, gboolean block)
event            1960 lib/tty/key.c      if (event->x > 0)
event            1962 lib/tty/key.c          show_mouse_pointer (event->x, event->y);
event            1964 lib/tty/key.c              event->x = -1;
event            2076 lib/tty/key.c                          *event = ev;
event            2127 lib/tty/key.c          xmouse_get_event (event, c == MCKEY_EXTENDED_MOUSE);
event            2128 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             183 lib/widget/button.c button_mouse_default_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event)
event             185 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             217 lib/widget/buttonbar.c buttonbar_mouse_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event)
event             226 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             319 lib/widget/dialog.c dlg_mouse_translator (Gpm_Event * event, Widget * w)
event             323 lib/widget/dialog.c     me = mouse_translate_event (w, event);
event             331 lib/widget/dialog.c dlg_mouse_event (WDialog * h, Gpm_Event * event)
event             339 lib/widget/dialog.c         && ((event->buttons & GPM_B_LEFT) != 0) && ((event->type & GPM_DOWN) != 0)
event             340 lib/widget/dialog.c         && !mouse_global_in_widget (event, wh))
event             351 lib/widget/dialog.c         mou = dlg_mouse_translator (event, wh);
event             370 lib/widget/dialog.c             ret = dlg_mouse_translator (event, w);
event             508 lib/widget/dialog.c     Gpm_Event event;
event             510 lib/widget/dialog.c     event.x = -1;
event             543 lib/widget/dialog.c         d_key = tty_get_event (&event, h->mouse_status == MOU_REPEAT, TRUE);
event             545 lib/widget/dialog.c         dlg_process_event (h, d_key, &event);
event            1121 lib/widget/dialog.c dlg_process_event (WDialog * h, int key, Gpm_Event * event)
event            1131 lib/widget/dialog.c         h->mouse_status = dlg_mouse_event (h, event);
event             132 lib/widget/dialog.h void dlg_process_event (WDialog * h, int key, 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             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_select_entry (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_select_entry (l, listbox_y_pos (l, event->y));
event             535 lib/widget/listbox.c         if (event->count == GPM_DOUBLE) /* Double click */
event             754 lib/widget/menu.c menubar_mouse_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event)
event             761 lib/widget/menu.c     mouse_on_drop = menubar_mouse_on_menu (menubar, event->y, event->x);
event             768 lib/widget/menu.c         if (event->y == 0)
event             773 lib/widget/menu.c             selected = menubar_get_menu_by_x_coord (menubar, event->x);
event             779 lib/widget/menu.c             menubar_change_selected_item (menubar, event->y);
event             810 lib/widget/menu.c         if ((event->buttons & GPM_B_MIDDLE) != 0 && event->y > 0 && menubar->is_dropped)
event             817 lib/widget/menu.c         else if (event->y > 0)
event             823 lib/widget/menu.c         if (event->y == 0)
event             826 lib/widget/menu.c             menubar_drop (menubar, menubar_get_menu_by_x_coord (menubar, event->x));
event             829 lib/widget/menu.c             menubar_change_selected_item (menubar, event->y);
event             840 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              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              61 lib/widget/mouse.h mouse_event_t mouse_translate_event (Widget * w, Gpm_Event * event);
event              63 lib/widget/mouse.h int mouse_process_event (Widget * w, mouse_event_t * event);
event             150 lib/widget/radio.c radio_mouse_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event)
event             155 lib/widget/radio.c         RADIO (w)->pos = event->y;
event             160 lib/widget/radio.c         RADIO (w)->pos = event->y;
event             585 lib/widget/widget-common.c mouse_global_in_widget (const Gpm_Event * event, const Widget * w)
event             587 lib/widget/widget-common.c     return (event->x > w->x) && (event->y > w->y) && (event->x <= w->x + w->cols)
event             588 lib/widget/widget-common.c         && (event->y <= w->y + w->lines);
event             124 lib/widget/widget-common.h typedef void (*widget_mouse_cb_fn) (Widget * w, mouse_msg_t msg, mouse_event_t * event);
event             197 lib/widget/widget-common.h gboolean mouse_global_in_widget (const Gpm_Event * event, const Widget * w);
event             643 lib/widget/wtools.c     Gpm_Event event;
event             665 lib/widget/wtools.c     event.x = -1;               /* Don't show the GPM cursor */
event             666 lib/widget/wtools.c     c = tty_get_event (&event, FALSE, sm->block);
event             673 lib/widget/wtools.c     dlg_process_event (sm->dlg, c, &event);
event            3358 src/diffviewer/ydiff.c dview_mouse_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event)
event            3362 src/diffviewer/ydiff.c     (void) event;
event             687 src/editor/editwidget.c edit_update_cursor (WEdit * edit, const mouse_event_t * event)
event             692 src/editor/editwidget.c     x = event->x - (edit->fullscreen ? 0 : 1);
event             693 src/editor/editwidget.c     y = event->y - (edit->fullscreen ? 0 : 1);
event             695 src/editor/editwidget.c     if (edit->mark2 != -1 && event->msg == MSG_MOUSE_UP)
event             698 src/editor/editwidget.c     if (event->msg == MSG_MOUSE_DOWN || event->msg == MSG_MOUSE_UP)
event             730 src/editor/editwidget.c     if (event->msg == MSG_MOUSE_CLICK)
event             736 src/editor/editwidget.c     done = (event->msg != MSG_MOUSE_DRAG);
event             854 src/editor/editwidget.c edit_dialog_mouse_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event)
event             858 src/editor/editwidget.c     if (msg == MSG_MOUSE_DOWN && event->y == 0)
event             882 src/editor/editwidget.c             if (top != NULL && event->x >= x)
event             893 src/editor/editwidget.c                 if (event->x - x <= 2)
event             907 src/editor/editwidget.c     event->result.abort = unhandled;
event             986 src/editor/editwidget.c edit_mouse_handle_move_resize (Widget * w, mouse_msg_t msg, mouse_event_t * event)
event            1011 src/editor/editwidget.c     global_x = event->x + w->x;
event            1012 src/editor/editwidget.c     global_y = event->y + w->y;
event            1045 src/editor/editwidget.c edit_mouse_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event)
event            1059 src/editor/editwidget.c         edit_mouse_handle_move_resize (w, msg, event);
event            1067 src/editor/editwidget.c     if (msg == MSG_MOUSE_DOWN && (event->y + w->y == LINES - 1))
event            1069 src/editor/editwidget.c         event->result.abort = TRUE;
event            1082 src/editor/editwidget.c             if (event->y == 0)
event            1084 src/editor/editwidget.c                 if (event->x >= close_x - 1 && event->x <= close_x + 1)
event            1086 src/editor/editwidget.c                 else if (event->x >= toggle_fullscreen_x - 1 && event->x <= toggle_fullscreen_x + 1)
event            1093 src/editor/editwidget.c                     edit->drag_state_start = event->x;
event            1098 src/editor/editwidget.c             if (event->y == w->lines - 1 && event->x == w->cols - 1)
event            1109 src/editor/editwidget.c         edit_update_cursor (edit, event);
event            1114 src/editor/editwidget.c         if (event->y == 0)
event            1116 src/editor/editwidget.c             if (event->x >= close_x - 1 && event->x <= close_x + 1)
event            1118 src/editor/editwidget.c             else if (event->x >= toggle_fullscreen_x - 1 && event->x <= toggle_fullscreen_x + 1)
event            1120 src/editor/editwidget.c             else if (!edit->fullscreen && event->count == GPM_DOUBLE)
event            1124 src/editor/editwidget.c         else if (event->count == GPM_DOUBLE)
event            1130 src/editor/editwidget.c         else if (event->count == GPM_TRIPLE)
event            1139 src/editor/editwidget.c         edit_update_cursor (edit, event);
event             446 src/filemanager/achown.c perm_button_mouse_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event)
event             452 src/filemanager/achown.c         BUTTON (w)->hotpos = CLAMP (event->x - 1, 0, 2);
event             456 src/filemanager/achown.c         button_mouse_default_callback (w, msg, event);
event             747 src/filemanager/filegui.c     Gpm_Event event;
event             756 src/filemanager/filegui.c     event.x = -1;               /* Don't show the GPM cursor */
event             757 src/filemanager/filegui.c     c = tty_get_event (&event, FALSE, ctx->suspended);
event             764 src/filemanager/filegui.c     dlg_process_event (ui->op_dlg, c, &event);
event             953 src/filemanager/find.c     Gpm_Event event;
event             956 src/filemanager/find.c     event.x = -1;
event             957 src/filemanager/find.c     c = tty_get_event (&event, h->mouse_status == MOU_REPEAT, FALSE);
event             960 src/filemanager/find.c         dlg_process_event (h, c, &event);
event            3738 src/filemanager/panel.c mark_if_marking (WPanel * panel, const mouse_event_t * event)
event            3740 src/filemanager/panel.c     if ((event->buttons & GPM_B_RIGHT) != 0)
event            3742 src/filemanager/panel.c         if (event->msg == MSG_MOUSE_DOWN)
event            3813 src/filemanager/panel.c panel_mouse_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event)
event            3823 src/filemanager/panel.c         if (event->y == 0)
event            3826 src/filemanager/panel.c             if (event->x == 1)
event            3829 src/filemanager/panel.c             else if (event->x == w->cols - 2)
event            3832 src/filemanager/panel.c             else if (event->x >= w->cols - 5 && event->x <= w->cols - 3)
event            3835 src/filemanager/panel.c             else if (event->x == w->cols - 6)
event            3841 src/filemanager/panel.c                 event->result.abort = TRUE;
event            3848 src/filemanager/panel.c         if (event->y == 1)
event            3851 src/filemanager/panel.c             mouse_sort_col (panel, event->x + 1);
event            3864 src/filemanager/panel.c             y = event->y - 2;
event            3878 src/filemanager/panel.c                     my_index += lines * (event->x / width);
event            3893 src/filemanager/panel.c             mark_if_marking (panel, event);
event            3901 src/filemanager/panel.c         if ((event->count & GPM_DOUBLE) != 0 && (event->buttons & GPM_B_LEFT) != 0)
event            3905 src/filemanager/panel.c             y = event->y - 2;
event            1210 src/filemanager/tree.c tree_mouse_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event)
event            1215 src/filemanager/tree.c     y = event->y;
event            1223 src/filemanager/tree.c         if (tree->is_panel && event->y == WIDGET (w->owner)->y)
event            1226 src/filemanager/tree.c             event->result.abort = TRUE;
event            1248 src/filemanager/tree.c             else if ((event->count & GPM_DOUBLE) != 0)
event             957 src/help.c     help_mouse_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event)
event             965 src/help.c         if ((event->buttons & GPM_B_RIGHT) != 0)
event             975 src/help.c         x = event->x - 1;
event             976 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;