Use inputd's Damage everywhere instead of separate SyncRect types

This commit is contained in:
bjorn3
2024-12-22 19:45:27 +01:00
parent 15cee6bb48
commit 5f7ee8f646
4 changed files with 21 additions and 36 deletions
+2
View File
@@ -90,6 +90,8 @@ pub struct VtEvent {
pub stride: u32,
}
// Keep synced with orbital's SyncRect
#[derive(Debug, Copy, Clone)]
#[repr(packed)]
pub struct Damage {
pub x: i32,