1
0
Fork 0
forked from wry/wry

metal: allow changing the connector mode

This commit is contained in:
Julian Orth 2024-03-04 17:18:44 +01:00
parent 558bea47b7
commit 98b6eba81c
9 changed files with 124 additions and 4 deletions

View file

@ -2,7 +2,7 @@ use {
crate::{
async_engine::SpawnedFuture,
backend::{
Backend, Connector, ConnectorEvent, ConnectorId, ConnectorKernelId, DrmDeviceId,
Backend, Connector, ConnectorEvent, ConnectorId, ConnectorKernelId, DrmDeviceId, Mode,
},
video::drm::ConnectorType,
},
@ -56,4 +56,8 @@ impl Connector for DummyOutput {
fn set_enabled(&self, _enabled: bool) {
// nothing
}
fn set_mode(&self, _mode: Mode) {
// nothing
}
}