aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan2014-08-18 13:57:57 +0000
committerokan2014-08-18 13:57:57 +0000
commit3fdfda76527cf75885aabd06006fce424b696245 (patch)
treeedda8e074e40d3a35223a3ad5d115b0e8bd54635 /calmwm.h
parent8fcbf7b8c5ca91ed2e01de4f3bc0b73dedb8d209 (diff)
downloadcwm-3fdfda76527cf75885aabd06006fce424b696245.tar.gz
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.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/calmwm.h b/calmwm.h
index e02028c..c620e5f 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.259 2014/02/08 02:49:30 okan Exp $
+ * $OpenBSD: calmwm.h,v 1.260 2014/08/18 13:57:57 okan Exp $
*/
#ifndef _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);