commit 2ab3765b9f4e23e34b39decd585a9f46e9f8940f parent 193e414ddf481991d6d091813e8e390f8c357790 Author: arg@garbe.us <unknown> Date: Thu, 26 Feb 2009 16:47:39 +0000 fixed struct name Diffstat:
leinwand.h | | | 34 | +++++++++++++++++----------------- |
1 file changed, 17 insertions(+), 17 deletions(-)
diff --git a/leinwand.h b/leinwand.h @@ -30,28 +30,28 @@ typedef enum { InputTypeEnd } LInputType; -typedef struct _LCompositor LCompositor; -typedef struct _LDisplay LDisplay; -typedef struct _LEvent LEvent; -typedef struct _LImage LImage; -typedef struct _LInput LInput; -typedef struct _LRectangle LRectangle; -typedef struct _LScreen LScreen; -typedef struct _LSurface LSurface; - -struct _LRectangle { +typedef struct LCompositor LCompositor; +typedef struct LDisplay LDisplay; +typedef struct LEvent LEvent; +typedef struct LImage LImage; +typedef struct LInput LInput; +typedef struct LRectangle LRectangle; +typedef struct LScreen LScreen; +typedef struct LSurface LSurface; + +struct LRectangle { int x; int y; unsigned int w; unsigned int h; }; -struct _LCompositor { +struct LCompositor { unsigned int id; LCompositorType type; }; -struct _LDisplay { +struct LDisplay { unsigned int id; LRectangle r; /* virtual rectangle spanned over all screens */ LCompositor *compositor; @@ -60,31 +60,31 @@ struct _LDisplay { LInput *inputs; }; -struct _LEvent { +struct LEvent { unsigned int id; LEventType type; }; -struct _LImage{ +struct LImage{ unsigned int id; LRectangle r; void *data; }; -struct _LInput { +struct LInput { unsigned int id; LInputType type; LInput *next; }; -struct _LScreen { +struct LScreen { unsigned int id; LDisplay *dpy; LRectangle r; LScreen *next; }; -struct _LSurface { +struct LSurface { unsigned int id; LDisplay *dpy; LSurface *parent; /* if parent == NULL, then it's the root surface */