cosmic-comp/src/input
Ian Douglas Scott e09fcec9f3 Use keyboard focus target rather than focus_stack in keybindings
`Action::Close` already used the keyboard focus target, but some other
bindings didn't. Presumably it's most intuitive if all "current window"
key bindings affect the window with keyboard focus.

These used the focus stack on the `focused_output()` (the one with
keyboard focus), so I guess the main impact is when the keyboard target
is a window being dragged? Then the binding will operate on that window,
or have no effect.

This seems related to some of the behaviors discussed in
https://github.com/pop-os/cosmic-comp/issues/453.
2025-11-04 15:41:08 -08:00
..
gestures chore: clippy 2025-10-22 23:55:11 +02:00
actions.rs Use keyboard focus target rather than focus_stack in keybindings 2025-11-04 15:41:08 -08:00
mod.rs chore: format for Rust 2024 2025-10-22 23:55:11 +02:00