[gtk/present-toplevel-2: 35/59] wayland: Drop dead code



commit cfc2a6018d331a55b25e624667a4e57f74c58c48
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Mar 9 10:24:30 2020 -0700

    wayland: Drop dead code

 gdk/wayland/gdksurface-wayland.c | 14 --------------
 1 file changed, 14 deletions(-)
---
diff --git a/gdk/wayland/gdksurface-wayland.c b/gdk/wayland/gdksurface-wayland.c
index 202b0331ec..96ce53fc94 100644
--- a/gdk/wayland/gdksurface-wayland.c
+++ b/gdk/wayland/gdksurface-wayland.c
@@ -3345,20 +3345,6 @@ gdk_wayland_surface_minimize (GdkSurface *surface)
 static void
 gdk_wayland_surface_unminimize (GdkSurface *surface)
 {
-  if (GDK_SURFACE_DESTROYED (surface) ||
-      !SURFACE_IS_TOPLEVEL (surface))
-    return;
-
-#if 0
-  if (GDK_SURFACE_IS_MAPPED (surface))
-    {
-      gdk_surface_show (surface);
-    }
-  else
-    {
-      gdk_synthesize_surface_state (surface, GDK_SURFACE_STATE_MINIMIZED, 0);
-    }
-#endif
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]