summaryrefslogtreecommitdiff
path: root/openbox/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/window.h')
-rw-r--r--openbox/window.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/openbox/window.h b/openbox/window.h
index 7e7e4d34..fbdcf024 100644
--- a/openbox/window.h
+++ b/openbox/window.h
@@ -4,6 +4,9 @@
#include <X11/Xlib.h>
#include <glib.h>
+typedef struct _ObWindow ObWindow;
+typedef struct _ObInternalWindow ObInternalWindow;
+
typedef enum {
Window_Menu,
Window_Dock,
@@ -12,9 +15,10 @@ typedef enum {
Window_Internal /* used for stacking but not events */
} Window_InternalType;
-typedef struct ObWindow {
+struct _ObWindow
+{
Window_InternalType type;
-} ObWindow;
+};
/* Wrapper for internal stuff. If its struct matches this then it can be used
as an ObWindow */