From f9b59a49111b8db151af72aae334887105b4141b Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 6 Feb 2008 19:40:21 -0500 Subject: make the internal window type more easily inheritable --- openbox/window.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openbox/window.h') 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) -- cgit v1.2.3