From 4386b73ae6c52a58bde556ef4ba94a7676a53599 Mon Sep 17 00:00:00 2001 From: oga Date: Fri, 11 Dec 2009 17:55:42 +0000 Subject: 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@ --- calmwm.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'calmwm.h') diff --git a/calmwm.h b/calmwm.h index 38b0065..efd9d2a 100644 --- a/calmwm.h +++ b/calmwm.h @@ -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]; -- cgit v1.2.3-2-gb3c3