]> Dogcows Code - chaz/openbox/blobdiff - openbox/window.h
make the internal window type more easily inheritable
[chaz/openbox] / openbox / window.h
index a172cfce62f10664bcb708e8deb0d9b4464ff3b8..7a905deaa99e2e0510c2b3d4adb948181104274d 100644 (file)
@@ -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)
This page took 0.021628 seconds and 4 git commands to generate.