You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
529 B
16 lines
529 B
2 years ago
|
From https://github.com/progandy/wdomirror/issues/5#issuecomment-1103265438
|
||
|
|
||
|
--- a/main.c
|
||
|
+++ b/main.c
|
||
|
@@ -409,9 +409,12 @@ 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 const struct xdg_toplevel_listener xdg_toplevel_listener = {
|
||
|
xdg_toplevel_handle_configure,
|
||
|
xdg_toplevel_handle_close,
|
||
|
+ xdg_toplevel_handle_configure_bounds,
|
||
|
};
|