After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 789198 - [PATCH] gdk: add accessor for GdkEventOwnerChange::reason
[PATCH] gdk: add accessor for GdkEventOwnerChange::reason
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: .General
3.92.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2017-10-19 12:24 UTC by Marc-Antoine Perennou
Modified: 2017-10-19 13:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gdk: add accessor for GdkEventOwnerChange::reason (1.83 KB, patch)
2017-10-19 12:24 UTC, Marc-Antoine Perennou
none Details | Review
gdk: add accessor for GdkEventOwnerChange::reason (1.89 KB, patch)
2017-10-19 12:37 UTC, Marc-Antoine Perennou
committed Details | Review

Description Marc-Antoine Perennou 2017-10-19 12:24:07 UTC
Currently there is no way to retrieve this since 3.92.
Comment 1 Marc-Antoine Perennou 2017-10-19 12:24:48 UTC
Created attachment 361858 [details] [review]
gdk: add accessor for GdkEventOwnerChange::reason
Comment 2 Marc-Antoine Perennou 2017-10-19 12:37:51 UTC
Created attachment 361867 [details] [review]
gdk: add accessor for GdkEventOwnerChange::reason
Comment 3 Carlos Garnacho 2017-10-19 12:59:09 UTC
Comment on attachment 361867 [details] [review]
gdk: add accessor for GdkEventOwnerChange::reason

It is consistent with the current state of things. Selections should be eventually taken out of the event management domain (at least upwards gdk/), but hiding this info entirely for the time being was not intentional.
Comment 4 Marc-Antoine Perennou 2017-10-19 13:13:15 UTC
Review of attachment 361867 [details] [review]:

pushed as 4808829352d9c450cded059ed49bdc5936ed0df2
Comment 5 Daniel Boles 2017-10-19 13:21:14 UTC
Shouldn't all these new accessors get Since: annotations in the gtk-doc comments, too?