fix: update modifier state for all windows, not just the main window
Fixes https://github.com/pop-os/cosmic-files/issues/1152
This commit is contained in:
parent
d788fe2421
commit
c7ee1c9ae1
1 changed files with 1 additions and 1 deletions
|
|
@ -2968,8 +2968,8 @@ impl Application for App {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
Message::ModifiersChanged(window_id, modifiers) => {
|
Message::ModifiersChanged(window_id, modifiers) => {
|
||||||
|
self.modifiers = modifiers;
|
||||||
if self.core.main_window_id() == Some(window_id) {
|
if self.core.main_window_id() == Some(window_id) {
|
||||||
self.modifiers = modifiers;
|
|
||||||
let entity = self.tab_model.active();
|
let entity = self.tab_model.active();
|
||||||
return self.update(Message::TabMessage(
|
return self.update(Message::TabMessage(
|
||||||
Some(entity),
|
Some(entity),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue