dws

a new direct/dynamic/dri/drm based window system
git clone git://git.suckless.org/dws
Log | Files | Refs | README | LICENSE

commit 91f946d623d6f9b509c391c4fd83c17d08fde5c9
parent 7a53811209d5bff5105e9340c1c38532d45d1318
Author: arg@garbe.us <unknown>
Date:   Thu, 26 Feb 2009 16:14:21 +0000

typo fix
Diffstat:
leinwand.h | 54+++++++++++++++++++++++++++---------------------------
1 file changed, 27 insertions(+), 27 deletions(-)

diff --git a/leinwand.h b/leinwand.h @@ -1,19 +1,19 @@ /* See LICENSE file for license details */ typedef enum { - ComposerTypeSourceOver, - ComposerTypeSourceAtTop, - ComposerTypeSourceIn, - ComposerTypeSourceOut, - ComposerTypeDestOver, - ComposerTypeDestAtTop, - ComposerTypeDestIn, - ComposerTypeDestOut, - ComposerTypeLighter, - ComposerTypeCopy, - ComposerTypeXOR, - ComposerTypeEnd -} LComposerType; + CompositorTypeSourceOver, + CompositorTypeSourceAtTop, + CompositorTypeSourceIn, + CompositorTypeSourceOut, + CompositorTypeDestOver, + CompositorTypeDestAtTop, + CompositorTypeDestIn, + CompositorTypeDestOut, + CompositorTypeLighter, + CompositorTypeCopy, + CompositorTypeXOR, + CompositorTypeEnd +} LCompositorType; typedef enum { EventTypeKeyPress, @@ -30,14 +30,14 @@ typedef enum { InputTypeEnd } LInputType; -typedef struct _LComposer LComposer; -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; +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; @@ -46,15 +46,15 @@ struct _LRectangle { unsigned int h; }; -struct _LComposer { - unsigned int id; - LComposerType type; +struct _LCompositor { + unsigned int id; + LCompositorType type; }; struct _LDisplay { unsigned int id; LRectangle r; /* virtual rectangle spanned over all screens */ - LComposer *composer; + LCompositor *compositor; LSurface *root; /* root surface tier is 0 */ LScreen *screens; LInput *inputs; @@ -96,7 +96,7 @@ struct _LSurface { LDisplay *LOpen(unsigned int id); -LComposer *LCreateComposer(LDisplay *dpy, LComposerType type); +LCompositor *LCreateCompositor(LDisplay *dpy, LCompositorType type); void LClose(LDisplay *dpy); @@ -104,7 +104,7 @@ LSurface *LGetRootSurface(LDisplay *dpy); LSurface *LCreateSurface(LDisplay *dpy, LSurface *parent); -void LSetComposer(LDisplay *dpy, LSurface *surface, LComposer *composer); +void LSetCompositor(LDisplay *dpy, LSurface *surface, LCompositor *compositor); void LDrawSurface(LDisplay *dpy, LSurface *surface, LRectangle destr, LImage *src, LRectangle srcr);