Run clang-format

Now we have a consistent style across the codebase.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui
2019-03-10 12:34:37 +00:00
parent 7845673734
commit 22da17630f
20 changed files with 8594 additions and 9013 deletions

View File

@@ -9,27 +9,28 @@
/// Enumeration type to represent switches.
typedef enum {
OFF = 0, // false
ON, // true
UNSET
OFF = 0, // false
ON, // true
UNSET
} switch_t;
/// Structure representing a X geometry.
typedef struct {
int wid;
int hei;
int x;
int y;
int wid;
int hei;
int x;
int y;
} geometry_t;
/// A structure representing margins around a rectangle.
typedef struct {
unsigned int top;
unsigned int left;
unsigned int bottom;
unsigned int right;
unsigned int top;
unsigned int left;
unsigned int bottom;
unsigned int right;
} margin_t;
typedef uint32_t opacity_t;
#define MARGIN_INIT { 0, 0, 0, 0 }
#define MARGIN_INIT \
{ 0, 0, 0, 0 }