Move stuff that doesn't belong in group_init; while here, explicitly

initialize hideall and cycling.
This commit is contained in:
okan
2014-09-23 13:45:48 +00:00
parent cbc7f76074
commit cb65869d7a
3 changed files with 15 additions and 15 deletions

View File

@@ -229,19 +229,19 @@ struct screen_ctx {
Window rootwin;
Window menuwin;
int cycling;
int hideall;
int snapdist;
struct geom view; /* viewable area */
struct geom work; /* workable area, gap-applied */
struct gap gap;
struct client_ctx_q clientq;
struct region_ctx_q regionq;
#define CALMWM_NGROUPS 10
struct group_ctx_q groupq;
struct group_ctx *group_active;
XftColor xftcolor[CWM_COLOR_NITEMS];
XftDraw *xftdraw;
XftFont *xftfont;
#define CALMWM_NGROUPS 10
struct group_ctx_q groupq;
int group_hideall;
struct group_ctx *group_active;
};
TAILQ_HEAD(screen_ctx_q, screen_ctx);