head-management: add mode-info-v1 extension
This commit is contained in:
parent
e24ea33734
commit
c25ddc8b5b
7 changed files with 83 additions and 0 deletions
|
|
@ -218,6 +218,10 @@ impl HeadManagers {
|
|||
ext.send_connected(state);
|
||||
head.session.schedule_done();
|
||||
}
|
||||
if let Some(ext) = &head.ext.mode_info_v1 {
|
||||
ext.send_mode(state);
|
||||
head.session.schedule_done();
|
||||
}
|
||||
if let Some(ext) = &head.ext.compositor_space_info_v1 {
|
||||
ext.send_inside_outside(state);
|
||||
head.session.schedule_done();
|
||||
|
|
@ -264,6 +268,10 @@ impl HeadManagers {
|
|||
ext.send_size(state);
|
||||
head.session.schedule_done();
|
||||
}
|
||||
if let Some(ext) = &head.ext.mode_info_v1 {
|
||||
ext.send_mode(state);
|
||||
head.session.schedule_done();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue