xwm: Add window resize support
diff --git a/src/compositor.h b/src/compositor.h
index 744b6b7..a3ccc36 100644
--- a/src/compositor.h
+++ b/src/compositor.h
@@ -55,11 +55,17 @@
struct wl_list link;
};
+struct weston_shell_client {
+ void (*send_configure)(struct weston_surface *surface,
+ uint32_t edges, int32_t width, int32_t height);
+};
+
struct weston_shell_interface {
void *shell; /* either desktop or tablet */
struct shell_surface *(*create_shell_surface)(void *shell,
- struct weston_surface *surface);
+ struct weston_surface *surface,
+ const struct weston_shell_client *client);
void (*set_toplevel)(struct shell_surface *shsurf);