summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2018-07-15 01:06:30 -0400
committerMatthias Clasen <mclasen@redhat.com>2018-07-15 07:42:08 -0400
commit343e3f3982238de88b5ad80fbb08e88e5af4dbea (patch)
tree8ee78cae0c7cf8a5920dd2753e32f340da66d0d3
parent028c5dcf98b2e33a259f4c8a242bc9294cfff1de (diff)
downloadgtk+-343e3f3982238de88b5ad80fbb08e88e5af4dbea.tar.gz
wayland: Stop sending configure events
These are no longer needed.
-rw-r--r--gdk/wayland/gdksurface-wayland.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/gdk/wayland/gdksurface-wayland.c b/gdk/wayland/gdksurface-wayland.c
index 7113d8c2ea..fc70c1a562 100644
--- a/gdk/wayland/gdksurface-wayland.c
+++ b/gdk/wayland/gdksurface-wayland.c
@@ -702,19 +702,7 @@ gdk_wayland_surface_configure (GdkSurface *surface,
int height,
int scale)
{
- GdkDisplay *display;
- GdkEvent *event;
-
gdk_wayland_surface_update_size (surface, width, height, scale);
-
- event = gdk_event_new (GDK_CONFIGURE);
- event->any.surface = g_object_ref (surface);
- event->any.send_event = FALSE;
- event->configure.width = width;
- event->configure.height = height;
-
- display = gdk_surface_get_display (surface);
- _gdk_wayland_display_deliver_event (display, event);
}
static gboolean