Disable all output leasing due to a wlroots UAF

This commit is contained in:
Consolatis 2025-07-05 00:19:33 +02:00 committed by Johan Malm
parent 4699d446cb
commit 38a1a9bbbc
2 changed files with 13 additions and 0 deletions

View file

@ -3,6 +3,7 @@
#define LABWC_MACROS_H
#include <limits.h>
#include <wlr/version.h>
/**
* ARRAY_SIZE() - Get the number of elements in array.
@ -61,4 +62,7 @@
#define BOUNDED_INT(a) ((a) < INT_MAX && (a) > INT_MIN)
#endif
#define LAB_WLR_VERSION_AT_LEAST(major, minor, micro) \
(WLR_VERSION_NUM >= (((major) << 16) | ((minor) << 8) | (micro)))
#endif /* LABWC_MACROS_H */