diff options
author | Matthias Clasen <mclasen@redhat.com> | 2018-07-15 14:01:59 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2018-07-15 14:01:59 -0400 |
commit | 9c827cbff4d7cd3e59fbfeb7ec5abe9c7dbf6bdb (patch) | |
tree | 0490ca7f40d2bdd2941489dfd2346bc9ea474964 | |
parent | da3aaf39b92a07cee16d94061ab5793e687fa350 (diff) | |
download | gtk+-9c827cbff4d7cd3e59fbfeb7ec5abe9c7dbf6bdb.tar.gz |
broadway: Stop using configure events
These no longer exist.
-rw-r--r-- | gdk/broadway/gdkeventsource.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/gdk/broadway/gdkeventsource.c b/gdk/broadway/gdkeventsource.c index 0eb603a960..a60df61712 100644 --- a/gdk/broadway/gdkeventsource.c +++ b/gdk/broadway/gdkeventsource.c @@ -304,16 +304,9 @@ _gdk_broadway_events_got_input (BroadwayInputMsg *message) { surface->x = message->configure_notify.x; surface->y = message->configure_notify.y; - - event = gdk_event_new (GDK_CONFIGURE); - event->any.surface = g_object_ref (surface); - event->configure.x = message->configure_notify.x; - event->configure.y = message->configure_notify.y; - event->configure.width = message->configure_notify.width; - event->configure.height = message->configure_notify.height; - - node = _gdk_event_queue_append (display, event); - _gdk_windowing_got_event (display, node, event, message->base.serial); + surface->width = message->configure_notify.width; + surface->height = message->configure_notify.height; + g_signal_emit_by_name (surface, "size-changed", surface->width, surface->height); if (surface->resize_count >= 1) { |