Skip to content
Snippets Groups Projects
Commit c6975859 authored by Alexandre Janniaux's avatar Alexandre Janniaux Committed by Steve Lhomme
Browse files

wayland: xdg-shell: init wm_capabilities to NULL

It's available starting with xdg-toplevel version 5, and we use
xdg-wm-base version 1 or the version adding configure_bounds which is
version 4, so we don't need to set a handler for now.
parent 19bd8d27
No related branches found
No related tags found
No related merge requests found
......@@ -363,6 +363,9 @@ static const struct xdg_toplevel_listener xdg_toplevel_cbs =
#ifdef XDG_TOPLEVEL_CONFIGURE_BOUNDS_SINCE_VERSION
xdg_toplevel_configure_bounds_cb,
#endif
#ifdef XDG_TOPLEVEL_WM_CAPABILITIES_SINCE_VERSION
NULL, /* We don't support wm_capabilities for now */
#endif
};
static void xdg_surface_configure_cb(void *data, struct xdg_surface *surface,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment