summaryrefslogtreecommitdiff
path: root/openbox/window.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2008-02-06 19:40:21 -0500
committerDana Jansens <danakj@orodu.net>2008-02-14 14:24:07 -0500
commitf9b59a49111b8db151af72aae334887105b4141b (patch)
treeba3365606c1c0e4dd712cf5519fe33bf346c324a /openbox/window.h
parentf1f61ff703db72cc1db7f834c9cb45616d55da10 (diff)
make the internal window type more easily inheritable
Diffstat (limited to 'openbox/window.h')
-rw-r--r--openbox/window.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/window.h b/openbox/window.h
index a172cfce..7a905dea 100644
--- a/openbox/window.h
+++ b/openbox/window.h
@@ -44,8 +44,8 @@ struct _ObWindow
/* Wrapper for internal stuff. If its struct matches this then it can be used
as an ObWindow */
typedef struct InternalWindow {
- ObWindow obwin;
- Window win;
+ Window_InternalType type;
+ Window window;
} InternalWindow;
#define WINDOW_IS_MENU(win) (((ObWindow*)win)->type == Window_Menu)