From dca157ba16942cfc4e33be617da14979f528db4c Mon Sep 17 00:00:00 2001 From: Jakob Date: Mon, 9 Feb 2026 20:37:50 +0100 Subject: [PATCH] Formatting --- src/wayland/handlers/toplevel_management.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/wayland/handlers/toplevel_management.rs b/src/wayland/handlers/toplevel_management.rs index 547c6afc..46f38bac 100644 --- a/src/wayland/handlers/toplevel_management.rs +++ b/src/wayland/handlers/toplevel_management.rs @@ -111,7 +111,9 @@ impl ToplevelManagementHandler for State { std::mem::drop(shell); // move pointer to window if it’s on a different monitor/output - if seat.active_output() != *output && self.common.config.cosmic_conf.cursor_follows_focus { + if seat.active_output() != *output + && self.common.config.cosmic_conf.cursor_follows_focus + { if let Some(new_pos) = new_pos { seat.set_active_output(output); if let Some(ptr) = seat.get_pointer() {