1
0
Fork 0
forked from wry/wry

backend: take initial backend state from backend

This commit is contained in:
Julian Orth 2026-03-17 20:41:00 +01:00
parent 1a9753847a
commit d321e888be
8 changed files with 88 additions and 71 deletions

View file

@ -141,6 +141,7 @@ pub trait Connector: Any {
fn damage(&self);
fn drm_dev(&self) -> Option<DrmDeviceId>;
fn effectively_locked(&self) -> bool;
fn state(&self) -> BackendConnectorState;
fn caps(&self) -> ConnectorCaps {
ConnectorCaps::none()
}