aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/xwayland.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/wlr/xwayland.h b/include/wlr/xwayland.h
index 03201718..26a14aea 100644
--- a/include/wlr/xwayland.h
+++ b/include/wlr/xwayland.h
@@ -173,6 +173,7 @@ struct wlr_xwayland_surface {
bool modal;
bool fullscreen;
bool maximized_vert, maximized_horz;
+ bool minimized;
bool has_alpha;
@@ -181,6 +182,7 @@ struct wlr_xwayland_surface {
struct wl_signal request_configure;
struct wl_signal request_move;
struct wl_signal request_resize;
+ struct wl_signal request_minimize;
struct wl_signal request_maximize;
struct wl_signal request_fullscreen;
struct wl_signal request_activate;
@@ -221,6 +223,11 @@ struct wlr_xwayland_resize_event {
uint32_t edges;
};
+struct wlr_xwayland_minimize_event {
+ struct wlr_xwayland_surface *surface;
+ bool minimize;
+};
+
struct wlr_xwayland_server *wlr_xwayland_server_create(
struct wl_display *display, struct wlr_xwayland_server_options *options);
void wlr_xwayland_server_destroy(struct wlr_xwayland_server *server);
@@ -250,6 +257,9 @@ void wlr_xwayland_surface_configure(struct wlr_xwayland_surface *surface,
void wlr_xwayland_surface_close(struct wlr_xwayland_surface *surface);
+void wlr_xwayland_surface_set_minimized(struct wlr_xwayland_surface *surface,
+ bool minimized);
+
void wlr_xwayland_surface_set_maximized(struct wlr_xwayland_surface *surface,
bool maximized);