From 6ff3931470534f22415baa05817ae1bc8aa22d6c Mon Sep 17 00:00:00 2001 From: okan Date: Mon, 17 Dec 2012 18:34:06 +0000 Subject: stash the default screen visual and colormap in screen_ctx --- calmwm.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'calmwm.h') diff --git a/calmwm.h b/calmwm.h index 4540aca..e029dfd 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.169 2012/12/17 17:48:57 okan Exp $ + * $OpenBSD: calmwm.h,v 1.170 2012/12/17 18:34:06 okan Exp $ */ #ifndef _CALMWM_H_ @@ -210,6 +210,8 @@ TAILQ_HEAD(autogroupwin_q, autogroupwin); struct screen_ctx { TAILQ_ENTRY(screen_ctx) entry; u_int which; + Visual *visual; + Colormap colormap; Window rootwin; Window menuwin; struct color color[CWM_COLOR_MAX]; -- cgit v1.2.3-2-gb3c3