summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2018-07-15 14:01:59 -0400
committerMatthias Clasen <mclasen@redhat.com>2018-07-15 14:01:59 -0400
commit9c827cbff4d7cd3e59fbfeb7ec5abe9c7dbf6bdb (patch)
tree0490ca7f40d2bdd2941489dfd2346bc9ea474964
parentda3aaf39b92a07cee16d94061ab5793e687fa350 (diff)
downloadgtk+-9c827cbff4d7cd3e59fbfeb7ec5abe9c7dbf6bdb.tar.gz
broadway: Stop using configure events
These no longer exist.
-rw-r--r--gdk/broadway/gdkeventsource.c13
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)
{