head-management: add mode-setter-v1 extension
This commit is contained in:
parent
c25ddc8b5b
commit
7e69a80dbc
7 changed files with 128 additions and 0 deletions
|
|
@ -108,6 +108,7 @@ enum HeadOp {
|
|||
SetConnectorEnabled(bool),
|
||||
SetTransform(Transform),
|
||||
SetScale(Scale),
|
||||
SetMode(usize),
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, Debug, Eq, PartialEq, Default)]
|
||||
|
|
@ -222,6 +223,10 @@ impl HeadManagers {
|
|||
ext.send_mode(state);
|
||||
head.session.schedule_done();
|
||||
}
|
||||
if let Some(ext) = &head.ext.mode_setter_v1 {
|
||||
ext.send_modes(state);
|
||||
head.session.schedule_done();
|
||||
}
|
||||
if let Some(ext) = &head.ext.compositor_space_info_v1 {
|
||||
ext.send_inside_outside(state);
|
||||
head.session.schedule_done();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue