mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-21 01:40:16 -05: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
5
render.c
5
render.c
|
|
@ -21,14 +21,11 @@
|
|||
#include "quirks.h"
|
||||
#include "selection.h"
|
||||
#include "shm.h"
|
||||
#include "util.h"
|
||||
|
||||
#define TIME_FRAME_RENDERING 0
|
||||
#define TIME_SCROLL_DAMAGE 0
|
||||
|
||||
#define ALEN(v) (sizeof(v) / sizeof((v)[0]))
|
||||
#define min(x, y) ((x) < (y) ? (x) : (y))
|
||||
#define max(x, y) ((x) > (y) ? (x) : (y))
|
||||
|
||||
struct renderer {
|
||||
struct fdm *fdm;
|
||||
struct wayland *wayl;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue