summaryrefslogtreecommitdiff
path: root/gdk/gdkeventsprivate.h
Commit message (Collapse)AuthorAgeFilesLines
...
* Drop the last mentions of motion hint eventsEmmanuele Bassi2018-02-051-3/+0
| | | | | | | The GDK_POINTER_MOTION_HINT_MASK enumeration value is gone, but we're still keeping around the "is_hint" field in GdkEventMotion, even though every backend sets it to `false` — except for the core X11 device manager.
* Try to make the docs build more quietMatthias Clasen2017-12-261-19/+19
| | | | Not sure if this really makes a difference.
* gdk: Remove DRAG_STATUS and DROP_FINISHED eventsBenjamin Otte2017-12-151-2/+1
| | | | | Those are source-side events that are handled by signals of the Dragontext these days.
* gdk: Drop GDK_DAMAGEMatthias Clasen2017-12-141-1/+1
| | | | | We haven't been generating events of this type since we dropped offscreen windows.
* gdk: Drop GdkEventWindowStateMatthias Clasen2017-12-141-20/+0
| | | | | No longer generate this event. Instead, emit change notification for GdkWindow::state.
* gdk: Remove propertiesBenjamin Otte2017-12-141-22/+0
| | | | | | They are not used anymore. Gone with them are PropertyNotify events.
* gdk: Implement motion history as motion event dataCarlos Garnacho2017-12-141-0/+1
| | | | | | | | | | | In the motion compression phase the coalesced events will be saved as a GdkTimeCoord on the motion event that shall be delivered. For simplicity (and because history doesn't make much sense otherwise) event history is only recorded while there are buttons pressed, this also tidily ensures that those coalesced events would have the same target widget on the gtk side than the delivered one, because of implicit grabs.
* gdk: Turn GdkEvent into a GObjectCarlos Garnacho2017-12-141-0/+12
| | | | | | | | | | | Two warts remain. gdk_event_copy() should be unnecessary as events should be considered static after delivery, so g_object_ref() should be just as good. There's a few exceptional cases that the event is copied and then modifier for later processing, those cases should be reconsidered individually. And gdk_event_free() could be likewise turned into g_object_unref(), many callers remain though.
* gdk: Remove GdkDisplay from GdkEventPrivateCarlos Garnacho2017-12-141-0/+1
| | | | And add it to GdkEventAny.
* gdk: Fold GdkEventPrivate fields into event structsCarlos Garnacho2017-12-141-5/+6
| | | | | | Now all events structs are private, it doesn't make as much sense having GdkEventPrivate wrapping allocating events. This is a first step towards removing it.
* gdk: Remove GdkEventType argument from GdkEvent unionCarlos Garnacho2017-12-141-1/+0
| | | | | | It won't stand true anymore that the GdkEventType argument is the first field of the GdkEvent* structs. All callers have been updated to use event->any.type instead.
* gdk: Refurbish GdkEvent struct hierarchyCarlos Garnacho2017-12-141-57/+19
| | | | | Make all specific event structs contain a GdkEventAny, so the base struct can be extended without modifying structs all over the place.
* gdk: Remove gdk_selection_convert()Benjamin Otte2017-12-141-28/+0
| | | | It's not used anymore.
* gdk: Remove ability to own a selectionBenjamin Otte2017-12-131-2/+1
| | | | | With this, the GDK_EVENT_SELECTION_REQUEST and GDK_EVENT_SELECTION_CLEAR and the associated GtkWidget signals are gone, too.
* gdk: Get rid of owner change eventsBenjamin Otte2017-12-031-30/+0
| | | | They're unused now.
* Stop providing the owner in GdkEventOwnerChangeMatthias Clasen2017-11-011-2/+0
| | | | | This information is rarely useful, and it is one of the last places where we create foreign windows.
* gdk: Remove VisibilityNotify eventsBenjamin Otte2017-11-011-25/+0
|
* gdk: Drop settings eventswip/matthiasc/gdk-settingsMatthias Clasen2017-10-301-22/+0
| | | | | | We are not emitting these events anymore, so lets remove them from the api. The GdkSettingAction enum is moved to xsettings-client.c where its only use remains.
* gtk: Remove 2BUTTON and 3BUTTON events and event typesCarlos Garnacho2017-09-191-34/+2
| | | | | | 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.
* gdk: Make GdkEvent structs/union opaqueCarlos Garnacho2017-09-191-0/+891
All users are forced to deal with events as opaque pointers, only using API to access the info.