diff options
| author | Irene Knapp <ireneista@irenes.space> | 2026-11-12 22:40:42 -0700 |
|---|---|---|
| committer | Irene Knapp <ireneista@irenes.space> | 2026-11-12 22:40:42 -0700 |
| commit | e521722f5fd339ef72ee51af88f3941b71b1d9cf (patch) | |
| tree | 300734c3a95ad6c73908e8f203a1d70b53379be0 /src/x/font_context.rs | |
| parent | 9f61e842d01f910349458466c3749d92561f5cde (diff) | |
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
Diffstat (limited to 'src/x/font_context.rs')
| -rw-r--r-- | src/x/font_context.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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>, + _display: Arc<Display>, 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 { |