implement wlr_output_management_unstable_v1
This commit is contained in:
parent
a3c0631f4e
commit
c6060a7389
23 changed files with 1349 additions and 32 deletions
|
|
@ -483,6 +483,9 @@ impl OutputNode {
|
|||
.connector
|
||||
.head_managers
|
||||
.handle_scale_change(scale);
|
||||
for head in self.global.connector.wlr_output_heads.lock().values() {
|
||||
head.handle_new_scale(scale);
|
||||
}
|
||||
}
|
||||
|
||||
pub fn schedule_update_render_data(self: &Rc<Self>) {
|
||||
|
|
@ -778,6 +781,9 @@ impl OutputNode {
|
|||
}
|
||||
let rect = pos.at_point(x, y);
|
||||
self.change_extents_(&rect);
|
||||
for head in self.global.connector.wlr_output_heads.lock().values() {
|
||||
head.handle_position_change(x, y);
|
||||
}
|
||||
}
|
||||
|
||||
pub fn update_mode(self: &Rc<Self>, mode: Mode) {
|
||||
|
|
@ -817,6 +823,9 @@ impl OutputNode {
|
|||
.connector
|
||||
.head_managers
|
||||
.handle_transform_change(transform);
|
||||
for head in self.global.connector.wlr_output_heads.lock().values() {
|
||||
head.hande_transform_change(transform);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1339,6 +1348,9 @@ impl OutputNode {
|
|||
.connector
|
||||
.head_managers
|
||||
.handle_vrr_mode_change(mode.to_config());
|
||||
for head in self.global.connector.wlr_output_heads.lock().values() {
|
||||
head.handle_vrr_mode_change(mode);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue