cosmic-comp/src/shell
Ian Douglas Scott 7fd033295f focus-stack: Keep dragged surface in focus stack in move_request()
Replacement for https://github.com/pop-os/cosmic-comp/pull/1687, that
works correctly with multiple outputs.

We don't want another window to show a focus indicator while a window is
being dragged, so keep the window in the focus stack. If a window is
being moved out of a stack, change the focus from the stack to the
window.

`refresh_focus_stack()` doesn't seem to be called here, but for good
measure, make sure that calling that function also won't remove a
`CosmicMapped` from the focus stack if it is currently part of a move
grab for the seat.
2025-11-04 15:41:08 -08:00
..
element Make CosmicWindowInternal/CosmicStackInternal not Clone 2025-11-04 15:41:08 -08:00
focus focus-stack: Keep dragged surface in focus stack in move_request() 2025-11-04 15:41:08 -08:00
grabs chore: format for Rust 2024 2025-10-22 23:55:11 +02:00
layout chore: format for Rust 2024 2025-10-22 23:55:11 +02:00
mod.rs focus-stack: Keep dragged surface in focus stack in move_request() 2025-11-04 15:41:08 -08:00
seats.rs Use keyboard focus target rather than focus_stack in keybindings 2025-11-04 15:41:08 -08:00
workspace.rs focus-stack: Keep dragged surface in focus stack in move_request() 2025-11-04 15:41:08 -08:00
zoom.rs chore: format for Rust 2024 2025-10-22 23:55:11 +02:00