aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/wlr/xwayland.h10
-rw-r--r--include/xwayland/xwm.h2
2 files changed, 12 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);
diff --git a/include/xwayland/xwm.h b/include/xwayland/xwm.h
index 2569092f..1085cb14 100644
--- a/include/xwayland/xwm.h
+++ b/include/xwayland/xwm.h
@@ -44,7 +44,9 @@ enum atom_name {
NET_WM_STATE_FULLSCREEN,
NET_WM_STATE_MAXIMIZED_VERT,
NET_WM_STATE_MAXIMIZED_HORZ,
+ NET_WM_STATE_HIDDEN,
NET_WM_PING,
+ WM_CHANGE_STATE,
WM_STATE,
CLIPBOARD,
PRIMARY,