diff options
author | oga | 2009-12-11 17:55:42 +0000 |
---|---|---|
committer | oga | 2009-12-11 17:55:42 +0000 |
commit | 4386b73ae6c52a58bde556ef4ba94a7676a53599 (patch) | |
tree | bcd5397e1fbba0d1606db3cabcefaf9363ea4c6f /calmwm.h | |
parent | b5e3cdbe512264c453033c02a088bbd72c50bf32 (diff) | |
download | cwm-4386b73ae6c52a58bde556ef4ba94a7676a53599.tar.gz |
implement support for _NET_WM_DESKTOP properties on windows.
it works kinda like _CWM_GRP, which we added to aid restarts a while
ago, but it's standardised and clients are specifically allowed to set
it to request a desktop.
for noe we leave _CWM_GRP support in, but its days are now numbered.
while i'm here fixup an int/long mixup with an earlier diff.
ok okan@
Diffstat (limited to 'calmwm.h')
-rw-r--r-- | calmwm.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: calmwm.h,v 1.107 2009/12/11 17:51:42 oga Exp $ + * $Id: calmwm.h,v 1.108 2009/12/11 17:55:42 oga Exp $ */ #ifndef _CALMWM_H_ @@ -541,7 +541,8 @@ extern struct conf Conf; #define _NET_VIRTUAL_ROOTS cwm_atoms[16] #define _NET_SHOWING_DESKTOP cwm_atoms[17] #define _NET_DESKTOP_NAMES cwm_atoms[18] -#define CWM_NO_ATOMS 19 +#define _NET_WM_DESKTOP cwm_atoms[19] +#define CWM_NO_ATOMS 20 #define CWM_NETWM_START 7 extern Atom cwm_atoms[CWM_NO_ATOMS]; |