From b3aa5ad4f92a8b34e65acf6b7cc0236b4c99aac8 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 10 Sep 2020 00:22:01 -0400 Subject: [PATCH] Move GdkFullscreenMode to the right header This enum is just used for a GdkToplevel property now, so move the declaration to the gdktoplevel.h header. --- gdk/gdksurface.h | 14 -------------- gdk/gdktoplevel.h | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/gdk/gdksurface.h b/gdk/gdksurface.h index a03b02a4e3..dde646e807 100644 --- a/gdk/gdksurface.h +++ b/gdk/gdksurface.h @@ -63,20 +63,6 @@ typedef enum GDK_SURFACE_EDGE_SOUTH_EAST } GdkSurfaceEdge; -/** - * GdkFullscreenMode: - * @GDK_FULLSCREEN_ON_CURRENT_MONITOR: Fullscreen on current monitor only. - * @GDK_FULLSCREEN_ON_ALL_MONITORS: Span across all monitors when fullscreen. - * - * Indicates which monitor (in a multi-head setup) a surface should span over - * when in fullscreen mode. - **/ -typedef enum -{ - GDK_FULLSCREEN_ON_CURRENT_MONITOR, - GDK_FULLSCREEN_ON_ALL_MONITORS -} GdkFullscreenMode; - /** * GdkSurfaceState: * @GDK_SURFACE_STATE_WITHDRAWN: the surface is not shown diff --git a/gdk/gdktoplevel.h b/gdk/gdktoplevel.h index cd1bb74241..119be69e53 100644 --- a/gdk/gdktoplevel.h +++ b/gdk/gdktoplevel.h @@ -30,6 +30,20 @@ G_BEGIN_DECLS +/** + * GdkFullscreenMode: + * @GDK_FULLSCREEN_ON_CURRENT_MONITOR: Fullscreen on current monitor only. + * @GDK_FULLSCREEN_ON_ALL_MONITORS: Span across all monitors when fullscreen. + * + * Indicates which monitor (in a multi-head setup) a surface should span over + * when in fullscreen mode. + **/ +typedef enum +{ + GDK_FULLSCREEN_ON_CURRENT_MONITOR, + GDK_FULLSCREEN_ON_ALL_MONITORS +} GdkFullscreenMode; + #define GDK_TYPE_TOPLEVEL (gdk_toplevel_get_type ()) GDK_AVAILABLE_IN_ALL