perf(ipc): cache unchanged output event payloads

This commit is contained in:
Samuel Onoja committed 2026-10-24 22:03:23 +01:00
1 parent 835aadc3eb
commit e9f36efdb6
6 files changed
+397 -16

No files matched your search

+2 -2
View File
@@ -246,7 +246,7 @@ impl DirectBackendState {
}
}
#[derive(Clone, Debug)]
#[derive(Clone, Debug, PartialEq)]
pub(crate) struct ConnectedOutputInfo {
pub connector: String,
pub connected: bool,
@@ -266,7 +266,7 @@ pub(crate) struct ConnectedOutputInfo {
pub configured_position: Option<[i32; 2]>,
}
#[derive(Clone, Copy, Debug)]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub(crate) struct ConnectedModeInfo {
pub width: u16,
pub height: u16,