diff options
author | oga <oga> | 2009-12-11 17:55:42 +0000 |
---|---|---|
committer | oga <oga> | 2009-12-11 17:55:42 +0000 |
commit | a0ec2515e932183c01a7f9e61386b0741bef5f33 (patch) | |
tree | aecb2dc07e3a28d364035166194b7d507c556c9f /calmwm.h | |
parent | b35cbf81d84c97e7c444aafe491597bd6db6cfab (diff) | |
download | cwm-a0ec2515e932183c01a7f9e61386b0741bef5f33.tar.gz cwm-a0ec2515e932183c01a7f9e61386b0741bef5f33.tar.xz cwm-a0ec2515e932183c01a7f9e61386b0741bef5f33.zip |
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 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/calmwm.h b/calmwm.h index 212434e..3405a5f 100644 --- a/calmwm.h +++ b/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]; |