aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan2013-01-01 14:19:56 +0000
committerokan2013-01-01 14:19:56 +0000
commit04e1c4d4ec08c96fbc13dfb72f061b1845f9b785 (patch)
treed384c0e3da111c126fad8976256719605a2946aa /calmwm.h
parentc5eb66fdce461930b3b780e5f09b0f3771474825 (diff)
downloadcwm-04e1c4d4ec08c96fbc13dfb72f061b1845f9b785.tar.gz
make num of groups no longer off-by-one; from Alexander Polakov
note that a re-exec of cwm will not rewrite the group number atom of *existing* clients, so they will remain off-by-one until each client has its atom updated, or of course a restart of X.
Diffstat (limited to 'calmwm.h')
-rw-r--r--calmwm.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/calmwm.h b/calmwm.h
index 3b26df3..c5476d5 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.
*
- * $OpenBSD: calmwm.h,v 1.179 2012/12/19 15:21:34 okan Exp $
+ * $OpenBSD: calmwm.h,v 1.180 2013/01/01 14:19:56 okan Exp $
*/
#ifndef _CALMWM_H_
@@ -74,8 +74,6 @@
#define CWM_MENU_DUMMY 0x0001
#define CWM_MENU_FILE 0x0002
-#define KBTOGROUP(X) ((X) - 1)
-
union arg {
char *c;
int i;
@@ -222,7 +220,7 @@ struct screen_ctx {
XftFont *xftfont;
int xinerama_no;
XineramaScreenInfo *xinerama;
-#define CALMWM_NGROUPS 9
+#define CALMWM_NGROUPS 10
struct group_ctx groups[CALMWM_NGROUPS];
struct group_ctx_q groupq;
int group_hideall;