From c7ee1c9ae13d7df72b01a41f311a3893ab1ea5ff Mon Sep 17 00:00:00 2001 From: therealmate <61843503+therealmate@users.noreply.github.com> Date: Sun, 5 Oct 2025 20:39:56 +0200 Subject: [PATCH] fix: update modifier state for all windows, not just the main window Fixes https://github.com/pop-os/cosmic-files/issues/1152 --- src/app.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.rs b/src/app.rs index dbbfff6..e018323 100644 --- a/src/app.rs +++ b/src/app.rs @@ -2968,8 +2968,8 @@ impl Application for App { } }, Message::ModifiersChanged(window_id, modifiers) => { + self.modifiers = modifiers; if self.core.main_window_id() == Some(window_id) { - self.modifiers = modifiers; let entity = self.tab_model.active(); return self.update(Message::TabMessage( Some(entity),