[gtk/matthiasc/surface-state-rework: 43/80] wayland: Stop emitting size-changed
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gtk/matthiasc/surface-state-rework: 43/80] wayland: Stop emitting size-changed
- Date: Sat,  5 Dec 2020 17:42:39 +0000 (UTC)
commit 63c53273825216a59808584f6aa17d4de24d14d7
Author: Jonas Ã…dahl <jadahl gmail com>
Date:   Wed Dec 2 14:13:32 2020 +0100
    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,
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]