From 30b213601a4f71d65a2227fa68ffb1ab2a69f671 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Thu, 20 Jun 2024 12:04:10 +0300 Subject: Implement the event stream IPC --- src/protocols/foreign_toplevel.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/protocols') diff --git a/src/protocols/foreign_toplevel.rs b/src/protocols/foreign_toplevel.rs index af2be711..296847a5 100644 --- a/src/protocols/foreign_toplevel.rs +++ b/src/protocols/foreign_toplevel.rs @@ -95,7 +95,7 @@ pub fn refresh(state: &mut State) { // Save the focused window for last, this way when the focus changes, we will first deactivate // the previous window and only then activate the newly focused window. let mut focused = None; - state.niri.layout.with_windows(|mapped, output| { + state.niri.layout.with_windows(|mapped, output, _| { let wl_surface = mapped.toplevel().wl_surface(); with_states(wl_surface, |states| { -- cgit