summaryrefslogtreecommitdiff
path: root/hw/xwin/winwindow.h
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2011-09-29 15:05:27 +0100
committerJon TURNEY <jon.turney@dronecode.org.uk>2012-01-26 14:40:30 +0000
commit9a709d5028094fcbeb7a49f47cb85e22cd772f36 (patch)
treebf3fdf7870529aea7c8c40c248ac1191e3c6906f /hw/xwin/winwindow.h
parentb8b0b841a0e7cfcecaf0b6a5aa67e1b4499374d9 (diff)
hw/xwin: Handle more motif window decoration hinting
Handle the MWM_DECOR_MINIMIZE, MWM_DECOR_MAXIMIZE and MWM_DECOR_MENU decoration hints in a _MOTIF_WM_HINTS window property Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
Diffstat (limited to 'hw/xwin/winwindow.h')
-rw-r--r--hw/xwin/winwindow.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/hw/xwin/winwindow.h b/hw/xwin/winwindow.h
index a6c8e05dd..229696ae4 100644
--- a/hw/xwin/winwindow.h
+++ b/hw/xwin/winwindow.h
@@ -127,10 +127,13 @@ typedef struct _winWMMessageRec{
#define MwmHintsDecorations (1L << 1)
-#define MwmDecorAll (1l << 0)
-#define MwmDecorBorder (1l << 1)
-#define MwmDecorHandle (1l << 2)
-#define MwmDecorTitle (1l << 3)
+#define MwmDecorAll (1L << 0)
+#define MwmDecorBorder (1L << 1)
+#define MwmDecorHandle (1L << 2)
+#define MwmDecorTitle (1L << 3)
+#define MwmDecorMenu (1L << 4)
+#define MwmDecorMinimize (1L << 5)
+#define MwmDecorMaximize (1L << 6)
/* This structure only contains 3 elements... the Motif 2.0 structure
contains 5... we only need the first 3... so that is all we will define */