diff --git a/src/handlers/xwayland.rs b/src/handlers/xwayland.rs index a64522c..2d3e211 100644 --- a/src/handlers/xwayland.rs +++ b/src/handlers/xwayland.rs @@ -451,8 +451,8 @@ impl Pinnacle { }; let x11_wins = self - .space - .elements() + .windows + .iter() .filter(|win| win.is_on_active_tag()) .filter_map(|win| win.x11_surface()) .cloned()