weston/xwayland
Giulio Camuffo e90ea44a02 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>
2015-01-27 14:10:07 -08:00
..
dnd.c Don't include xserver-server-protocol.h 2014-04-07 09:46:27 -07:00
hash.c Move xwayland up one directory level 2013-12-04 10:20:02 -08:00
hash.h Move xwayland up one directory level 2013-12-04 10:20:02 -08:00
launcher.c xwayland: Clean up the WM properly if X server crashes 2014-08-27 14:49:16 +03:00
selection.c Move xwayland up one directory level 2013-12-04 10:20:02 -08:00
window-manager.c xwm: set the _NET_WM_DESKTOP property of the windows 2015-01-27 14:10:07 -08:00
xwayland.h xwm: set the _NET_WM_DESKTOP property of the windows 2015-01-27 14:10:07 -08:00