aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Fadel <samuel@nihil.ws>2023-04-06 09:28:29 +0200
committerSamuel Fadel <samuel@nihil.ws>2023-04-06 09:28:29 +0200
commitf856c9a7b011415360c22d348c1316499105fb57 (patch)
tree52767b24bb5ae69c06e1998dbf3dd48795deab84
parente4a4934e6f739909fbf346cbc001c72690b5c906 (diff)
* main.c: Added (empty) missing callbacks to xdg_toplevel_listener init.
-rw-r--r--main.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/main.c b/main.c
index 245dbff..f3fb890 100644
--- a/main.c
+++ b/main.c
@@ -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,
};