diff options
author | oga | 2009-12-07 23:19:51 +0000 |
---|---|---|
committer | oga | 2009-12-07 23:19:51 +0000 |
commit | 0b0dd2e0d919b5b7aeede0dfc2c20b1c9147753d (patch) | |
tree | bb393f746141cfd1dca20eb8725df314e0294659 /calmwm.h | |
parent | ff7157bb69ba801513b0ee6af1db2cde51ac62aa (diff) | |
download | cwm-0b0dd2e0d919b5b7aeede0dfc2c20b1c9147753d.tar.gz |
Implement _NET_NUMBER_OF_DESKTOPS, currently this is statically 9 and
unchangable. the group code needs some cleaning up before this will be a
bit less hackish.
ok okan@
Diffstat (limited to 'calmwm.h')
-rw-r--r-- | calmwm.h | 6 |
1 files changed, 4 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.101 2009/12/07 22:46:15 oga Exp $ + * $Id: calmwm.h,v 1.102 2009/12/07 23:19:51 oga Exp $ */ #ifndef _CALMWM_H_ @@ -159,6 +159,7 @@ TAILQ_HEAD(client_ctx_q, client_ctx); extern const char *shortcut_to_name[]; +#define CALMWM_NGROUPS 9 struct group_ctx { TAILQ_ENTRY(group_ctx) entry; struct client_ctx_q clients; @@ -528,7 +529,8 @@ extern struct conf Conf; #define _NET_WM_NAME cwm_atoms[9] #define _NET_ACTIVE_WINDOW cwm_atoms[10] #define _NET_CLIENT_LIST cwm_atoms[11] -#define CWM_NO_ATOMS 12 +#define _NET_NUMBER_OF_DESKTOPS cwm_atoms[12] +#define CWM_NO_ATOMS 13 #define CWM_NETWM_START 7 extern Atom cwm_atoms[CWM_NO_ATOMS]; |