diff options
author | Giulio Camuffo <giuliocamuffo@gmail.com> | 2014-12-13 18:06:34 +0200 |
---|---|---|
committer | Bryce Harrington <bryce@osg.samsung.com> | 2015-01-27 14:10:07 -0800 |
commit | e90ea44a02e3652c0a310f8548a6f54a63649d60 (patch) | |
tree | 60faaecece85c14a044d246f83743a4b5e187467 /xwayland/xwayland.h | |
parent | 6deb09ef8a72164947cdfa5f2414e292c7672c9c (diff) | |
download | weston-e90ea44a02e3652c0a310f8548a6f54a63649d60.tar.gz |
xwm: set the _NET_WM_DESKTOP property of the windows
Some X clients use the _NET_WM_DESKTOP property to tell if the window
is mapped or not. If set, it should say the virtual desktop the window
is currently in, if unset it means the window is unmapped.
The xwm currently has no way to know how many virtual desktops
the shell plugin has, or if it even implements the metaphor. For now
just set the property to 0, meaning the first desktop, if the window is
mapped, and delete the property when unmapped.
Reviewed-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
Diffstat (limited to 'xwayland/xwayland.h')
-rw-r--r-- | xwayland/xwayland.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xwayland/xwayland.h b/xwayland/xwayland.h index 312c9b27..b42110bd 100644 --- a/xwayland/xwayland.h +++ b/xwayland/xwayland.h @@ -105,6 +105,7 @@ struct weston_wm { xcb_atom_t net_wm_state_fullscreen; xcb_atom_t net_wm_user_time; xcb_atom_t net_wm_icon_name; + xcb_atom_t net_wm_desktop; xcb_atom_t net_wm_window_type; xcb_atom_t net_wm_window_type_desktop; xcb_atom_t net_wm_window_type_dock; |