diff options
author | okan | 2016-09-29 00:21:55 +0000 |
---|---|---|
committer | okan | 2016-09-29 00:21:55 +0000 |
commit | 0f86dbbd38ab71c45557b98c63a1c0952b2cfda1 (patch) | |
tree | e079fb602ba41fa9c3ade6d09b4c6bc282153b43 /calmwm.h | |
parent | 5f5374eb8ec00ff4d793c6a037f20dd2a1a91cd8 (diff) | |
download | cwm-0f86dbbd38ab71c45557b98c63a1c0952b2cfda1.tar.gz |
Mechanical change: move screen menu bits to their own struct.
Diffstat (limited to '')
-rw-r--r-- | calmwm.h | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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); |