From e521722f5fd339ef72ee51af88f3941b71b1d9cf Mon Sep 17 00:00:00 2001 From: Irene Knapp Date: Thu, 12 Nov 2026 22:40:42 -0700 Subject: okay, all the color stuff is well-organized now since color is one of those "the data is the point" types, rather than one that encapsulates remote state, both the xcb and xft stuff is handled by a single type, Color. Force-Push: yes Change-Id: I192c40b13dd9040897cbf043d5dd84d5a73f607b --- src/x/font_context.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/x/font_context.rs') diff --git a/src/x/font_context.rs b/src/x/font_context.rs index 30e5165..56eb08e 100644 --- a/src/x/font_context.rs +++ b/src/x/font_context.rs @@ -7,7 +7,7 @@ use xcb::{ Xid }; pub struct FontGraphicContext { - display: Arc, + _display: Arc, context_state: *mut XftDraw, } @@ -30,7 +30,7 @@ impl FontGraphicContext { colormap.resource_id() as u64) }; - Ok(FontGraphicContext { display, context_state }) + Ok(FontGraphicContext { _display: display, context_state }) } pub fn get_xft_draw(&self) -> *mut XftDraw { -- cgit 1.4.1