diff options
author | Hideyuki Nagase <hideyukn@microsoft.com> | 2022-03-10 12:34:17 -0600 |
---|---|---|
committer | Derek Foreman <derek.foreman@collabora.com> | 2022-06-22 09:57:25 -0500 |
commit | d902088bfc9678bbd4a57eec64703869fe28d9db (patch) | |
tree | 23a975541030fa2ebe4e5679738aeb456c3cfe5c /shared | |
parent | cc69dc447ee9a9fd2fa6894e583fd66c21e958c4 (diff) | |
download | weston-d902088bfc9678bbd4a57eec64703869fe28d9db.tar.gz |
xwayland: support minimizing
Allow minimizing xwayland windows.
Co-authored-by: Steve Pronovost <spronovo@microsoft.com>
Co-authored-by: Brenton DeGeer <brdegeer@microsoft.com>
Signed-off-by: Hideyuki Nagase <hideyukn@microsoft.com>
Signed-off-by: Steve Pronovost <spronovo@microsoft.com>
Signed-off-by: Brenton DeGeer <brdegeer@microsoft.com>
Diffstat (limited to 'shared')
-rw-r--r-- | shared/xcb-xwayland.c | 1 | ||||
-rw-r--r-- | shared/xcb-xwayland.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/shared/xcb-xwayland.c b/shared/xcb-xwayland.c index fe801198..737c82a5 100644 --- a/shared/xcb-xwayland.c +++ b/shared/xcb-xwayland.c @@ -77,6 +77,7 @@ x11_get_atoms(xcb_connection_t *connection, struct atom_x11 *atom) { "WM_STATE", F(wm_state) }, { "WM_S0", F(wm_s0) }, { "WM_CLIENT_MACHINE", F(wm_client_machine) }, + { "WM_CHANGE_STATE", F(wm_change_state) }, { "_NET_WM_CM_S0", F(net_wm_cm_s0) }, { "_NET_WM_NAME", F(net_wm_name) }, { "_NET_WM_PID", F(net_wm_pid) }, diff --git a/shared/xcb-xwayland.h b/shared/xcb-xwayland.h index f4f03954..7b233ede 100644 --- a/shared/xcb-xwayland.h +++ b/shared/xcb-xwayland.h @@ -39,6 +39,7 @@ struct atom_x11 { xcb_atom_t wm_state; xcb_atom_t wm_s0; xcb_atom_t wm_client_machine; + xcb_atom_t wm_change_state; xcb_atom_t net_wm_cm_s0; xcb_atom_t net_wm_name; xcb_atom_t net_wm_pid; |