From 067d8c9f41a0c6d9cd87c31432b56057e0da2c5d Mon Sep 17 00:00:00 2001 From: oga Date: Thu, 10 Dec 2009 23:14:58 +0000 Subject: Implement _NET_CURRENT_DESKTOP, _NET_DESKTOP_VIEWPORT and _NET_DESKTOP_GEOMETRY. ok okan@ --- calmwm.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'calmwm.h') diff --git a/calmwm.h b/calmwm.h index 14fb7e7..e191c3b 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.104 2009/12/10 17:16:51 oga Exp $ + * $Id: calmwm.h,v 1.105 2009/12/10 23:14:58 oga Exp $ */ #ifndef _CALMWM_H_ @@ -401,6 +401,7 @@ char *xstrdup(const char *); struct screen_ctx *screen_fromroot(Window); void screen_updatestackingorder(struct screen_ctx *); +void screen_update_geometry(struct screen_ctx *, int, int); void screen_init_xinerama(struct screen_ctx *); XineramaScreenInfo *screen_find_xinerama(struct screen_ctx *, int, int); @@ -530,9 +531,12 @@ extern struct conf Conf; #define _NET_SUPPORTING_WM_CHECK cwm_atoms[8] #define _NET_WM_NAME cwm_atoms[9] #define _NET_ACTIVE_WINDOW cwm_atoms[10] -#define _NET_CLIENT_LIST cwm_atoms[11] +#define _NET_CLIENT_LIST cwm_atoms[11] #define _NET_NUMBER_OF_DESKTOPS cwm_atoms[12] -#define CWM_NO_ATOMS 13 +#define _NET_CURRENT_DESKTOP cwm_atoms[13] +#define _NET_DESKTOP_VIEWPORT cwm_atoms[14] +#define _NET_DESKTOP_GEOMETRY cwm_atoms[15] +#define CWM_NO_ATOMS 16 #define CWM_NETWM_START 7 extern Atom cwm_atoms[CWM_NO_ATOMS]; -- cgit v1.2.3-2-gb3c3