WIP activate workspace

This commit is contained in:
Ian Douglas Scott 2022-12-30 15:35:36 -08:00
parent 4abedacdfa
commit 4af2d4d669
2 changed files with 18 additions and 9 deletions

View file

@ -150,10 +150,7 @@ impl ToplevelInfoHandler for AppData {
toplevel: &zcosmic_toplevel_handle_v1::ZcosmicToplevelHandleV1,
) {
let info = self.toplevel_info_state.info(&toplevel).unwrap();
self.send_event(Event::NewToplevel(
toplevel.clone(),
info.clone(),
));
self.send_event(Event::NewToplevel(toplevel.clone(), info.clone()));
let frame = self.screencopy_state.screencopy_manager.capture_toplevel(
toplevel,