1
0
Fork 0
forked from wry/wry

head-management: add compositor-space-positioner-v1 extension

This commit is contained in:
Julian Orth 2025-07-12 09:21:38 +02:00
parent 67acc6d938
commit a12b259648
7 changed files with 97 additions and 8 deletions

View file

@ -94,7 +94,9 @@ impl HeadState {
}
}
enum HeadOp {}
enum HeadOp {
SetPosition(i32, i32),
}
#[derive(Copy, Clone, Debug, Eq, PartialEq, Default)]
enum HeadMgrState {
@ -128,7 +130,6 @@ impl HeadCommon {
}
}
#[expect(dead_code)]
fn push_op(&self, op: HeadOp) -> Result<(), HeadCommonError> {
self.assert_in_transaction()?;
self.pending.borrow_mut().push(op);