diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2017-09-15 17:34:06 +0200 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2017-09-19 18:40:50 +0200 |
commit | a9988e18b0a3eb63409b87dfab53efc0b6f10b91 (patch) | |
tree | 3fac6958cc695dc70b22ffcd44ead063ce9b314a /gdk/gdkdisplayprivate.h | |
parent | 403a724164e25ec7e2c4a853b561609d12f7a1b8 (diff) | |
download | gtk+-a9988e18b0a3eb63409b87dfab53efc0b6f10b91.tar.gz |
gtk: Remove 2BUTTON and 3BUTTON events and event types
Those should be interpreted by widget-local gestures, not guessed at a
high level with no notions of the specific context. Users will want
GtkGestureMultiPress to replace these events.
Diffstat (limited to 'gdk/gdkdisplayprivate.h')
-rw-r--r-- | gdk/gdkdisplayprivate.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/gdk/gdkdisplayprivate.h b/gdk/gdkdisplayprivate.h index 156b8693e5..8c37ed6d22 100644 --- a/gdk/gdkdisplayprivate.h +++ b/gdk/gdkdisplayprivate.h @@ -86,16 +86,6 @@ typedef struct guint need_touch_press_enter : 1; } GdkPointerWindowInfo; -typedef struct -{ - guint32 button_click_time[2]; /* last 2 button click times */ - GdkWindow *button_window[2]; /* last 2 windows to receive button presses */ - gint button_number[2]; /* last 2 buttons to be pressed */ - gint button_x[2]; /* last 2 button click positions */ - gint button_y[2]; - GdkDevice *last_slave; -} GdkMultipleClickInfo; - struct _GdkDisplay { GObject parent_instance; @@ -103,11 +93,6 @@ struct _GdkDisplay GList *queued_events; GList *queued_tail; - /* Information for determining if the latest button click - * is part of a double-click or triple-click - */ - GHashTable *multiple_click_info; - guint event_pause_count; /* How many times events are blocked */ guint closed : 1; /* Whether this display has been closed */ |