[gtk/present-toplevel-2: 2/4] win32: Define GdkWMDecoration



commit 284ad47f411310d8f7ac0e22366ad998f19bdee5
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Mar 12 07:01:30 2020 -0400

    win32: Define GdkWMDecoration

 gdk/win32/gdksurface-win32.h | 11 +++++++++++
 1 file changed, 11 insertions(+)
---
diff --git a/gdk/win32/gdksurface-win32.h b/gdk/win32/gdksurface-win32.h
index ecef950949..f3223f127a 100644
--- a/gdk/win32/gdksurface-win32.h
+++ b/gdk/win32/gdksurface-win32.h
@@ -35,6 +35,17 @@
 
 G_BEGIN_DECLS
 
+typedef enum
+{
+  GDK_DECOR_ALL         = 1 << 0,
+  GDK_DECOR_BORDER      = 1 << 1,
+  GDK_DECOR_RESIZEH     = 1 << 2,
+  GDK_DECOR_TITLE       = 1 << 3,
+  GDK_DECOR_MENU        = 1 << 4,
+  GDK_DECOR_MINIMIZE    = 1 << 5,
+  GDK_DECOR_MAXIMIZE    = 1 << 6
+} GdkWMDecoration;
+
 enum _GdkWin32AeroSnapCombo
 {
   GDK_WIN32_AEROSNAP_COMBO_NOTHING = 0,


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