aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-10-27 10:48:09 -0400
committerTony Crisci <tony@dubstepdish.com>2017-10-27 10:48:09 -0400
commit6a4290b86ac282a899221834465df81bdd9d6bc9 (patch)
tree8f9ddcc4b76f494721e7c9682e41cf9e26557dcb /include/wlr
parent4a106648c4455793560d8ca3e60082a6f1d5f791 (diff)
xwm: moveresize events
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/xwayland.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/wlr/xwayland.h b/include/wlr/xwayland.h
index 6198ff22..b108028f 100644
--- a/include/wlr/xwayland.h
+++ b/include/wlr/xwayland.h
@@ -104,6 +104,8 @@ struct wlr_xwayland_surface {
struct {
struct wl_signal destroy;
struct wl_signal request_configure;
+ struct wl_signal request_move;
+ struct wl_signal request_resize;
struct wl_signal map_notify;
struct wl_signal unmap_notify;
struct wl_signal set_title;
@@ -126,6 +128,16 @@ struct wlr_xwayland_surface_configure_event {
uint16_t width, height;
};
+// TODO: maybe add a seat to these
+struct wlr_xwayland_move_event {
+ struct wlr_xwayland_surface *surface;
+};
+
+struct wlr_xwayland_resize_event {
+ struct wlr_xwayland_surface *surface;
+ uint32_t edges;
+};
+
void wlr_xwayland_destroy(struct wlr_xwayland *wlr_xwayland);
struct wlr_xwayland *wlr_xwayland_create(struct wl_display *wl_display,
struct wlr_compositor *compositor);