diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2017-10-11 15:35:29 +0200 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2017-12-14 00:58:32 +0100 |
commit | b9db0b55cb68985185feff891146beef6456c427 (patch) | |
tree | 25b21f1ea5ce6637e92a0567ad511168c58fc96a /gdk/gdkdisplay.c | |
parent | 9aba77e31b9f825bd1d67b28c1c887d350f7affc (diff) | |
download | gtk+-b9db0b55cb68985185feff891146beef6456c427.tar.gz |
gdk: Refurbish GdkEvent struct hierarchy
Make all specific event structs contain a GdkEventAny, so the base
struct can be extended without modifying structs all over the place.
Diffstat (limited to 'gdk/gdkdisplay.c')
-rw-r--r-- | gdk/gdkdisplay.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c index efdfaf6fc8..bd43125192 100644 --- a/gdk/gdkdisplay.c +++ b/gdk/gdkdisplay.c @@ -543,8 +543,8 @@ generate_grab_broken_event (GdkDisplay *display, GdkEvent *event; event = gdk_event_new (GDK_GRAB_BROKEN); - event->grab_broken.window = g_object_ref (window); - event->grab_broken.send_event = FALSE; + event->any.window = g_object_ref (window); + event->any.send_event = FALSE; event->grab_broken.implicit = implicit; event->grab_broken.grab_window = grab_window; gdk_event_set_device (event, device); |