aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_xdg_shell_v6.h30
1 files changed, 29 insertions, 1 deletions
diff --git a/include/wlr/types/wlr_xdg_shell_v6.h b/include/wlr/types/wlr_xdg_shell_v6.h
index 7c912370..3e404b6d 100644
--- a/include/wlr/types/wlr_xdg_shell_v6.h
+++ b/include/wlr/types/wlr_xdg_shell_v6.h
@@ -77,15 +77,43 @@ struct wlr_xdg_surface_v6 {
struct wl_listener surface_commit_listener;
struct {
- struct wl_signal request_minimize;
struct wl_signal commit;
struct wl_signal destroy;
struct wl_signal ack_configure;
+
+ struct wl_signal request_minimize;
+ struct wl_signal request_move;
+ struct wl_signal request_resize;
+ struct wl_signal request_show_window_menu;
} events;
void *data;
};
+struct wlr_xdg_toplevel_v6_move_event {
+ struct wl_client *client;
+ struct wlr_xdg_surface_v6 *surface;
+ struct wlr_seat_handle *seat_handle;
+ uint32_t serial;
+};
+
+struct wlr_xdg_toplevel_v6_resize_event {
+ struct wl_client *client;
+ struct wlr_xdg_surface_v6 *surface;
+ struct wlr_seat_handle *seat_handle;
+ uint32_t serial;
+ uint32_t edges;
+};
+
+struct wlr_xdg_toplevel_v6_show_window_menu_event {
+ struct wl_client *client;
+ struct wlr_xdg_surface_v6 *surface;
+ struct wlr_seat_handle *seat_handle;
+ uint32_t serial;
+ uint32_t x;
+ uint32_t y;
+};
+
struct wlr_xdg_shell_v6 *wlr_xdg_shell_v6_create(struct wl_display *display);
void wlr_xdg_shell_v6_destroy(struct wlr_xdg_shell_v6 *xdg_shell);