1
0
Fork 0
forked from wry/wry

autocommit 2022-04-20 18:33:59 CEST

This commit is contained in:
Julian Orth 2022-04-20 18:33:59 +02:00
parent 1227ede560
commit 34e665cd8b
9 changed files with 82 additions and 15 deletions

View file

@ -160,6 +160,9 @@ impl OutputNode {
old.node_set_visible(false);
}
ws.node_set_visible(true);
if let Some(fs) = ws.fullscreen.get() {
fs.into_node().node_change_extents(&self.global.pos.get());
}
ws.change_extents(&self.workspace_rect());
let node = ws.last_active_child();
for seat in seats {
@ -204,6 +207,9 @@ impl OutputNode {
self.state.root.update_extents();
self.update_render_data();
if let Some(c) = self.workspace.get() {
if let Some(fs) = c.fullscreen.get() {
fs.into_node().node_change_extents(rect);
}
c.node_change_extents(&self.workspace_rect());
}
for layer in &self.layers {