[gtk: 43/88] wayland: Stop emitting size-changed
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk: 43/88] wayland: Stop emitting size-changed
- Date: Tue, 8 Dec 2020 15:38:41 +0000 (UTC)
commit 0dcd4a5bdb21af20fc829c7d0a2e9f11a9e92a57
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]