broadway: Stop using configure events

These no longer exist.
This commit is contained in:
Matthias Clasen 2018-07-15 14:01:59 -04:00
parent da3aaf39b9
commit 9c827cbff4

View File

@ -304,16 +304,9 @@ _gdk_broadway_events_got_input (BroadwayInputMsg *message)
{ {
surface->x = message->configure_notify.x; surface->x = message->configure_notify.x;
surface->y = message->configure_notify.y; surface->y = message->configure_notify.y;
surface->width = message->configure_notify.width;
event = gdk_event_new (GDK_CONFIGURE); surface->height = message->configure_notify.height;
event->any.surface = g_object_ref (surface); g_signal_emit_by_name (surface, "size-changed", surface->width, surface->height);
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);
if (surface->resize_count >= 1) if (surface->resize_count >= 1)
{ {