X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fwindow.h;h=fbdcf024b45caa195275c8e6c1bca8188f05f24f;hb=122d55fbadea0409fbc902a1740e1c8ff3aecd88;hp=7e7e4d34a3bf3111e107e9a8fe91df162c01472a;hpb=59f318e897a301a40fb46fadbc4b825ccf86c0ba;p=chaz%2Fopenbox 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 #include +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 */