Skip to content

Commit

Permalink
WIP subsurface_widget: create subsurfaces for drag surface
Browse files Browse the repository at this point in the history
Not working?
  • Loading branch information
ids1024 committed Nov 7, 2024
1 parent 6fdc1c2 commit f1372fc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions winit/src/program.rs
Original file line number Diff line number Diff line change
Expand Up @@ -962,8 +962,10 @@ async fn run_instance<'a, P, C>(
},
Default::default(),
);
platform_specific_handler
.clear_subsurface_list();
platform_specific_handler.update_subsurfaces(
window_id,
window.raw.as_ref(),
);
let mut bytes = compositor.screenshot(
&mut renderer,
&mut surface,
Expand Down

0 comments on commit f1372fc

Please sign in to comment.