summaryrefslogtreecommitdiff
path: root/src/clients/monitors.rs
diff options
context:
space:
mode:
authortcmal <me@aria.rip>2024-07-04 22:22:46 +0100
committertcmal <me@aria.rip>2024-07-04 22:22:46 +0100
commitb9778944ba27e1deeec1be2bdc286790e6274470 (patch)
tree479e6312692551d1699738ea7da8e3fc44189055 /src/clients/monitors.rs
parentd147f26efa31cccf162b939c067ab3b6ed2842e2 (diff)
support floating windows
Diffstat (limited to 'src/clients/monitors.rs')
-rw-r--r--src/clients/monitors.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/clients/monitors.rs b/src/clients/monitors.rs
index 0a9bcde..6ca6fdf 100644
--- a/src/clients/monitors.rs
+++ b/src/clients/monitors.rs
@@ -15,8 +15,8 @@ pub struct MonitorInfo {
impl MonitorInfo {
/// Iterate over all tiled clients, returning a mutable reference to each.
pub fn clients_tiled_mut(&mut self) -> impl Iterator<Item = &mut Client> {
- // TODO: tag filtering, floating
- self.clients.iter_mut()
+ // TODO: tag filtering
+ self.clients.iter_mut().filter(|c| !c.floating())
}
}