From 33a0aea1fa5b12c817cc299b10f8a359d670c645 Mon Sep 17 00:00:00 2001 From: Irene Knapp Date: Sun, 22 Nov 2026 03:31:51 -0700 Subject: 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 --- src/x/display.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/x/display.rs') 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 { 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 { -- cgit 1.4.1