From 0dcd4a5bdb21af20fc829c7d0a2e9f11a9e92a57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Wed, 2 Dec 2020 14:13:32 +0100 Subject: [PATCH] wayland: Stop emitting size-changed It's dealt with by GdkSurface::layout now. --- gdk/wayland/gdksurface-wayland.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/gdk/wayland/gdksurface-wayland.c b/gdk/wayland/gdksurface-wayland.c index 140774a65a..69d9776131 100644 --- a/gdk/wayland/gdksurface-wayland.c +++ b/gdk/wayland/gdksurface-wayland.c @@ -999,9 +999,6 @@ gdk_wayland_surface_resize (GdkSurface *surface, { gdk_wayland_surface_update_size (surface, width, height, scale); _gdk_surface_update_size (surface); - - if (is_realized_shell_surface (GDK_WAYLAND_SURFACE (surface))) - gdk_surface_emit_size_changed (surface, width, height); } static void gdk_wayland_surface_show (GdkSurface *surface,