common/macros: change WLR_VERSION macro to runtime evaluation

This commit is contained in:
Consolatis 2026-04-04 16:58:05 +02:00 committed by Johan Malm
parent 0f5e4f8dd0
commit 2480a23b19
3 changed files with 15 additions and 2 deletions

View file

@ -148,6 +148,8 @@ struct seat {
};
struct server {
uint32_t wlr_version;
struct wl_display *wl_display;
struct wl_event_loop *wl_event_loop; /* Can be used for timer events */