diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-05-01 09:46:24 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-05-01 09:46:24 +0000 |
| commit | 69c3e744983e37662fa7b4f61482fb1d142e257c (patch) | |
| tree | c32f324f64bd0a581a14853b6bf638fe9d2125c0 /wayland.c | |
| parent | term: don't enable ptmx FDM callback until Wayland window has been configured (diff) | |
util.h: new header file defining commonly used macros
Diffstat (limited to 'wayland.c')
| -rw-r--r-- | wayland.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -28,10 +28,7 @@ #include "input.h" #include "render.h" #include "selection.h" - -#define ALEN(v) (sizeof(v) / sizeof(v[0])) -#define min(x, y) ((x) < (y) ? (x) : (y)) -#define max(x, y) ((x) > (y) ? (x) : (y)) +#include "util.h" static bool wayl_reload_cursor_theme( struct wayland *wayl, struct terminal *term); |
