Skip to content

Commit

Permalink
[awm2] Fetch remote and composite on window spawn
Browse files Browse the repository at this point in the history
  • Loading branch information
codyd51 committed Nov 27, 2022
1 parent eca9f49 commit 3afd803
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rust_programs/awm2/src/desktop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -638,6 +638,10 @@ impl Desktop {
.track_element(Rc::clone(&new_window) as Rc<dyn DesktopElement>);
self.recompute_drawable_regions_in_rect(window_frame);

new_window.render_remote_layer();
self.compositor_state
.queue_composite(Rc::clone(&new_window) as Rc<dyn DesktopElement>);

new_window
}

Expand Down

0 comments on commit 3afd803

Please sign in to comment.