1
0
Fork 0
forked from wry/wry

head-management: add mode-info-v1 extension

This commit is contained in:
Julian Orth 2025-07-12 09:32:38 +02:00
parent e24ea33734
commit c25ddc8b5b
7 changed files with 83 additions and 0 deletions

View file

@ -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();
}
}
}