diff options
author | Samuel Fadel <samuel@nihil.ws> | 2023-04-06 09:28:29 +0200 |
---|---|---|
committer | Samuel Fadel <samuel@nihil.ws> | 2023-04-06 09:28:29 +0200 |
commit | f856c9a7b011415360c22d348c1316499105fb57 (patch) | |
tree | 52767b24bb5ae69c06e1998dbf3dd48795deab84 | |
parent | e4a4934e6f739909fbf346cbc001c72690b5c906 (diff) |
* main.c: Added (empty) missing callbacks to xdg_toplevel_listener init.
-rw-r--r-- | main.c | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -409,9 +409,21 @@ xdg_toplevel_handle_close(void *data, struct xdg_toplevel *xdg_toplevel) ctx->quit = true; } +static void +xdg_toplevel_handle_configure_bounds(void *data, struct xdg_toplevel *toplevel, int32_t width, int32_t height) +{ +} + +static void +xdg_toplevel_wm_capabilities(void *data, struct xdg_toplevel *xdg_toplevel, struct wl_array *capabilities) +{ +} + static const struct xdg_toplevel_listener xdg_toplevel_listener = { xdg_toplevel_handle_configure, xdg_toplevel_handle_close, + xdg_toplevel_handle_configure_bounds, + xdg_toplevel_wm_capabilities, }; |