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 707844 - No way to get window field a GdkEvent from Gjs
No way to get window field a GdkEvent from Gjs
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: X11
3.9.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2013-09-10 10:14 UTC by Lionel Landwerlin
Modified: 2013-09-10 10:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gdk: event: add get_window() method (1.41 KB, patch)
2013-09-10 10:23 UTC, Lionel Landwerlin
none Details | Review
gdk: event: add get_window() method (1.42 KB, patch)
2013-09-10 10:32 UTC, Lionel Landwerlin
committed Details | Review

Description Lionel Landwerlin 2013-09-10 10:14:45 UTC
I couldn't find a way to get the window field of a GdkEvent when using Gjs.
Could we add a gdk_event_get_window() method to do that?
Comment 1 Lionel Landwerlin 2013-09-10 10:23:28 UTC
Created attachment 254579 [details] [review]
gdk: event: add get_window() method
Comment 2 Lionel Landwerlin 2013-09-10 10:32:23 UTC
Created attachment 254580 [details] [review]
gdk: event: add get_window() method
Comment 3 Emmanuele Bassi (:ebassi) 2013-09-10 10:37:36 UTC
Review of attachment 254580 [details] [review]:

looks good.
Comment 4 Lionel Landwerlin 2013-09-10 10:55:38 UTC
Pushed to master.