diff --git a/crates/penrose_ui/src/bar/widgets/simple.rs b/crates/penrose_ui/src/bar/widgets/simple.rs index eb78f00c..17c9deb0 100644 --- a/crates/penrose_ui/src/bar/widgets/simple.rs +++ b/crates/penrose_ui/src/bar/widgets/simple.rs @@ -126,7 +126,7 @@ impl Widget for ActiveWindowName { XEvent::PropertyNotify(PropertyEvent { id, atom, .. }) if id == focused && name_props.contains(&atom.as_ref()) => { - self.inner.set_text(x.window_title(*id)?) + self.set_text(&x.window_title(*id)?) } _ => (),