[gtk/present-toplevel-2: 12/36] wayland: Drop dead code
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/present-toplevel-2: 12/36] wayland: Drop dead code
- Date: Thu, 12 Mar 2020 19:32:09 +0000 (UTC)
commit 7e15a13f48f58cb8bd8f9733062ebead1e14aa26
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]