head-management: add compositor-space-positioner-v1 extension
This commit is contained in:
parent
67acc6d938
commit
a12b259648
7 changed files with 97 additions and 8 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue