(&mut self, surface: &WlSurface)
| 83 | } |
| 84 | |
| 85 | fn commit(&mut self, surface: &WlSurface) { |
| 86 | on_commit_buffer_handler::<Self>(surface); |
| 87 | if !is_sync_subsurface(surface) { |
| 88 | let mut root = surface.clone(); |
| 89 | while let Some(parent) = get_parent(&root) { |
| 90 | root = parent; |
| 91 | } |
| 92 | if let Some(window) = |
| 93 | self.workspaces.all_windows().find(|w| w.toplevel().wl_surface() == &root) |
| 94 | { |
| 95 | window.on_commit(); |
| 96 | } |
| 97 | }; |
| 98 | self.popup_manager.commit(surface); |
| 99 | handle_commit(&self.workspaces, surface, &self.popup_manager); |
| 100 | } |
| 101 | } |
| 102 | |
| 103 | delegate_compositor!(StrataComp); |
nothing calls this directly
no test coverage detected