mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-15 05:33:58 -04:00
util.h: new header file defining commonly used macros
This commit is contained in:
parent
fc2e385d87
commit
69c3e74498
14 changed files with 18 additions and 39 deletions
4
config.c
4
config.c
|
|
@ -19,11 +19,9 @@
|
|||
#define LOG_ENABLE_DBG 0
|
||||
#include "log.h"
|
||||
#include "input.h"
|
||||
#include "util.h"
|
||||
#include "wayland.h"
|
||||
|
||||
#define ALEN(v) (sizeof(v) / sizeof(v[0]))
|
||||
#define min(x, y) ((x) < (y) ? (x) : (y))
|
||||
|
||||
static const uint32_t default_foreground = 0xdcdccc;
|
||||
static const uint32_t default_background = 0x111111;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue