Make display uuid optional if the display is disconnected

This commit is contained in:
Kay Simmons 2023-02-01 14:59:43 -08:00
parent fd2a9b3df9
commit 62d32db66c
4 changed files with 28 additions and 22 deletions

View file

@ -124,7 +124,7 @@ pub trait InputHandler {
pub trait Screen: Debug {
fn as_any(&self) -> &dyn Any;
fn bounds(&self) -> RectF;
fn display_uuid(&self) -> Uuid;
fn display_uuid(&self) -> Option<Uuid>;
}
pub trait Window {