diff options
| author | Irene Knapp <ireneista@irenes.space> | 2026-11-22 03:31:51 -0700 |
|---|---|---|
| committer | Irene Knapp <ireneista@irenes.space> | 2026-11-22 21:40:21 -0700 |
| commit | 33a0aea1fa5b12c817cc299b10f8a359d670c645 (patch) | |
| tree | 1f29b867d49a6158edc679c3cc1521a77f1175d7 /src/x/display.rs | |
| parent | efa17e7eb566d81ce821bde459e900d7398a9977 (diff) | |
there are now concepts of font lists and text lines
a "line" is a list of spans much of the layout logic is moved into TextLine, but not yet all of it Change-Id: I2edba34cd9be5a50ac6dc646cd6e2ab2369fca13 Force-Push: yes
Diffstat (limited to 'src/x/display.rs')
| -rw-r--r-- | src/x/display.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/x/display.rs b/src/x/display.rs index 7aa7e2e..e950484 100644 --- a/src/x/display.rs +++ b/src/x/display.rs @@ -16,6 +16,11 @@ impl HasConnection for Arc<Display> { fn connection(&self) -> &Connection { &self.connection } } +impl PartialEq for Display { + fn eq(&self, other: &Display) -> bool { + self.connection == other.connection + } +} impl Display { pub fn new() -> xcb::Result<Display> { |