mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-06 07:06:10 +00:00
c/main: Pass wm_capabilities to xdg_toplevel_listener.
Fixes GCC 13 and clang 15 warning [-Wmissing-field-initializers]. For recent Wayland versions, correctly initialize the xdg_toplevel_listener struct.
This commit is contained in:
parent
eb438b2381
commit
b0d47951f6
|
@ -182,6 +182,9 @@ static const struct xdg_toplevel_listener xdg_toplevel_listener = {
|
||||||
#if XDG_TOPLEVEL_CONFIGURE_BOUNDS_SINCE_VERSION >= 4
|
#if XDG_TOPLEVEL_CONFIGURE_BOUNDS_SINCE_VERSION >= 4
|
||||||
NULL,
|
NULL,
|
||||||
#endif
|
#endif
|
||||||
|
#if XDG_TOPLEVEL_WM_CAPABILITIES_SINCE_VERSION >= 5
|
||||||
|
NULL,
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue