We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3bea10 commit 19358d3Copy full SHA for 19358d3
src/wayland/mod.rs
@@ -273,20 +273,6 @@ impl WaylandHelper {
273
self.inner.toplevels.lock().unwrap().clone()
274
}
275
276
- pub fn output_info_toplevel(
277
- &self,
278
- foreign_toplevel: &ExtForeignToplevelHandleV1,
279
- ) -> Option<OutputInfo> {
280
- let output_toplevels = self.inner.output_toplevels.lock().unwrap();
281
- output_toplevels.iter().find_map(|(output, toplevel_list)| {
282
- if toplevel_list.contains(foreign_toplevel) {
283
- self.output_info(output)
284
- } else {
285
- None
286
- }
287
- })
288
289
-
290
pub fn output_info(&self, output: &wl_output::WlOutput) -> Option<OutputInfo> {
291
self.inner.output_infos.lock().unwrap().get(output).cloned()
292
0 commit comments