aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan2016-09-29 00:21:55 +0000
committerokan2016-09-29 00:21:55 +0000
commit0f86dbbd38ab71c45557b98c63a1c0952b2cfda1 (patch)
treee079fb602ba41fa9c3ade6d09b4c6bc282153b43 /calmwm.h
parent5f5374eb8ec00ff4d793c6a037f20dd2a1a91cd8 (diff)
downloadcwm-0f86dbbd38ab71c45557b98c63a1c0952b2cfda1.tar.gz
Mechanical change: move screen menu bits to their own struct.
Diffstat (limited to 'calmwm.h')
-rw-r--r--calmwm.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/calmwm.h b/calmwm.h
index 31961fd..3ad75e4 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.315 2016/09/28 17:06:33 okan Exp $
+ * $OpenBSD: calmwm.h,v 1.316 2016/09/29 00:21:55 okan Exp $
*/
#ifndef _CALMWM_H_
@@ -228,7 +228,6 @@ struct screen_ctx {
TAILQ_ENTRY(screen_ctx) entry;
int which;
Window rootwin;
- Window menuwin;
int cycling;
int hideall;
int snapdist;
@@ -240,8 +239,11 @@ struct screen_ctx {
#define CALMWM_NGROUPS 10
struct group_ctx_q groupq;
struct group_ctx *group_active;
+ struct {
+ Window win;
+ XftDraw *xftdraw;
+ } menu;
XftColor xftcolor[CWM_COLOR_NITEMS];
- XftDraw *xftdraw;
XftFont *xftfont;
};
TAILQ_HEAD(screen_ctx_q, screen_ctx);