diff options
| author | Simon Ser <contact@emersion.fr> | 2022-04-17 17:20:33 +0200 |
|---|---|---|
| committer | Simon Ser <contact@emersion.fr> | 2022-05-23 08:59:05 +0000 |
| commit | b0a4e633512e966c00a47184d4a303091ca3dcdc (patch) | |
| tree | fcd0cb656d96161dd909584f37adf7968280c859 /cursor/xcursor.h | |
| parent | cursor: fix define style (diff) | |
| download | wayland-b0a4e633512e966c00a47184d4a303091ca3dcdc.tar wayland-b0a4e633512e966c00a47184d4a303091ca3dcdc.tar.gz wayland-b0a4e633512e966c00a47184d4a303091ca3dcdc.tar.bz2 wayland-b0a4e633512e966c00a47184d4a303091ca3dcdc.tar.lz wayland-b0a4e633512e966c00a47184d4a303091ca3dcdc.tar.xz wayland-b0a4e633512e966c00a47184d4a303091ca3dcdc.tar.zst wayland-b0a4e633512e966c00a47184d4a303091ca3dcdc.zip | |
cursor: fix struct declaration style
Use tabs for indentation, don't use tabs to align field names.
Signed-off-by: Simon Ser <contact@emersion.fr>
Diffstat (limited to 'cursor/xcursor.h')
| -rw-r--r-- | cursor/xcursor.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/cursor/xcursor.h b/cursor/xcursor.h index 6650f5d..e417904 100644 --- a/cursor/xcursor.h +++ b/cursor/xcursor.h @@ -29,23 +29,23 @@ #include <stdint.h> typedef struct _XcursorImage { - uint32_t version; /* version of the image data */ - uint32_t size; /* nominal size for matching */ - uint32_t width; /* actual width */ - uint32_t height; /* actual height */ - uint32_t xhot; /* hot spot x (must be inside image) */ - uint32_t yhot; /* hot spot y (must be inside image) */ - uint32_t delay; /* animation delay to next frame (ms) */ - uint32_t *pixels; /* pointer to pixels */ + uint32_t version; /* version of the image data */ + uint32_t size; /* nominal size for matching */ + uint32_t width; /* actual width */ + uint32_t height; /* actual height */ + uint32_t xhot; /* hot spot x (must be inside image) */ + uint32_t yhot; /* hot spot y (must be inside image) */ + uint32_t delay; /* animation delay to next frame (ms) */ + uint32_t *pixels; /* pointer to pixels */ } XcursorImage; /* * Other data structures exposed by the library API */ typedef struct _XcursorImages { - int nimage; /* number of images */ - XcursorImage **images; /* array of XcursorImage pointers */ - char *name; /* name used to load images */ + int nimage; /* number of images */ + XcursorImage **images; /* array of XcursorImage pointers */ + char *name; /* name used to load images */ } XcursorImages; void |
