1
0
Fork 0
forked from wry/wry

head-management: add physical-display-info-v1 extension

This commit is contained in:
Julian Orth 2025-07-12 09:34:04 +02:00
parent 7e69a80dbc
commit 81a7c973d0
6 changed files with 180 additions and 0 deletions

View file

@ -219,6 +219,10 @@ impl HeadManagers {
ext.send_connected(state);
head.session.schedule_done();
}
if let Some(ext) = &head.ext.physical_display_info_v1 {
ext.send_info(state);
head.session.schedule_done();
}
if let Some(ext) = &head.ext.mode_info_v1 {
ext.send_mode(state);
head.session.schedule_done();
@ -257,6 +261,10 @@ impl HeadManagers {
ext.send_wl_output(state);
head.session.schedule_done();
}
if let Some(ext) = &head.ext.physical_display_info_v1 {
ext.send_info(state);
head.session.schedule_done();
}
}
}