From 84cef003d00150daf0bed9bc2938e0ded629fd26 Mon Sep 17 00:00:00 2001 From: okan Date: Tue, 13 Feb 2018 15:43:15 +0000 Subject: Store the screen's visual type and colormap. --- calmwm.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'calmwm.h') diff --git a/calmwm.h b/calmwm.h index 8631232..1ce4d96 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.359 2018/02/13 15:06:22 okan Exp $ + * $OpenBSD: calmwm.h,v 1.360 2018/02/13 15:43:15 okan Exp $ */ #ifndef _CALMWM_H_ @@ -223,6 +223,8 @@ struct screen_ctx { struct region_q regionq; struct group_q groupq; struct group_ctx *group_active; + Colormap colormap; + Visual *visual; struct { Window win; XftDraw *xftdraw; -- cgit v1.2.3-2-gb3c3