summary refs log tree commit diff
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan <okan>2014-08-18 13:57:57 +0000
committerokan <okan>2014-08-18 13:57:57 +0000
commit11920071711238fdfcaf89feb35ab1bf68160347 (patch)
tree36ff3ec899ec3f6df87efd8c84b9673c1b8b8f27 /calmwm.h
parente9cb5b743f06baea2d0c469a11bdbe0224c15881 (diff)
downloadcwm-11920071711238fdfcaf89feb35ab1bf68160347.tar.gz
cwm-11920071711238fdfcaf89feb35ab1bf68160347.tar.xz
cwm-11920071711238fdfcaf89feb35ab1bf68160347.zip
Get rid of nhidden in group_ctx; it actually never reported correctly
since nhidden wasn't incremented nor decremeted in all the right places,
thus confusing matters.  We don't need to carry a count around, so just
use a local variable in the one place we need one to supply
XRestackWindows().
Diffstat (limited to 'calmwm.h')
-rw-r--r--calmwm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/calmwm.h b/calmwm.h
index be0a08c..bc4833c 100644
--- a/calmwm.h
+++ b/calmwm.h
@@ -205,7 +205,6 @@ struct group_ctx {
 	struct client_ctx_q	 clients;
 	int			 shortcut;
 	int			 hidden;
-	int			 nhidden;
 	int			 highstack;
 };
 TAILQ_HEAD(group_ctx_q, group_ctx);