summaryrefslogtreecommitdiff
path: root/src/x11/xprops.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/x11/xprops.h')
-rw-r--r--src/x11/xprops.h40
1 files changed, 1 insertions, 39 deletions
diff --git a/src/x11/xprops.h b/src/x11/xprops.h
index f55d80baa..e21d97d19 100644
--- a/src/x11/xprops.h
+++ b/src/x11/xprops.h
@@ -26,45 +26,7 @@
#include <X11/extensions/sync.h>
#include "meta/display.h"
-
-/* Copied from Lesstif by way of GTK. Rudimentary docs can be
- * found in some Motif reference guides online.
- */
-typedef struct {
- uint32_t flags;
- uint32_t functions;
- uint32_t decorations;
- uint32_t input_mode;
- uint32_t status;
-} MotifWmHints, MwmHints;
-
-#define MWM_HINTS_FUNCTIONS (1L << 0)
-#define MWM_HINTS_DECORATIONS (1L << 1)
-#define MWM_HINTS_INPUT_MODE (1L << 2)
-#define MWM_HINTS_STATUS (1L << 3)
-
-#define MWM_FUNC_ALL (1L << 0)
-#define MWM_FUNC_RESIZE (1L << 1)
-#define MWM_FUNC_MOVE (1L << 2)
-#define MWM_FUNC_MINIMIZE (1L << 3)
-#define MWM_FUNC_MAXIMIZE (1L << 4)
-#define MWM_FUNC_CLOSE (1L << 5)
-
-#define MWM_DECOR_ALL (1L << 0)
-#define MWM_DECOR_BORDER (1L << 1)
-#define MWM_DECOR_RESIZEH (1L << 2)
-#define MWM_DECOR_TITLE (1L << 3)
-#define MWM_DECOR_MENU (1L << 4)
-#define MWM_DECOR_MINIMIZE (1L << 5)
-#define MWM_DECOR_MAXIMIZE (1L << 6)
-
-#define MWM_INPUT_MODELESS 0
-#define MWM_INPUT_PRIMARY_APPLICATION_MODAL 1
-#define MWM_INPUT_SYSTEM_MODAL 2
-#define MWM_INPUT_FULL_APPLICATION_MODAL 3
-#define MWM_INPUT_APPLICATION_MODAL MWM_INPUT_PRIMARY_APPLICATION_MODAL
-
-#define MWM_TEAROFF_WINDOW (1L<<0)
+#include "motif-wm-hints.h"
/* These all return the memory from Xlib, so require an XFree()
* when they return TRUE. They return TRUE on success.