No description
Find a file
Ian Douglas Scott f8fae8a5b0 shell: On output_remove, focus moved workspace instead of empty one
On `output_remove`, if the output a workspace is moved to had no
non-empty workspaces (or did, but had an empty one active), the empty
workspace would remain active, and the workspace that was active on the
removed output is no longer visible.

Instead, change the active workspace to the one that was active on the
removed output.

This addresses another edge case where hotplug results in an empty
workspace, followed by other non-empty workspaces, and generally seems
like a better experience.

This could be further restricted by only applying if `new_set` is not on
the active output (to not mess with what the user is interacting with,
even it's an empty workspace) or only if the old `set` was the active
output, etc. But it seems good without further restriction.
2025-03-12 15:44:35 +01:00
.github/workflows ci: Update unsupported cache v2 action to v4 2025-03-03 13:31:46 -08:00
cosmic-comp-config config: Update zoom config defaults 2025-02-20 23:51:55 +01:00
data actions: Shortcut handling changes for #1005 2025-03-05 18:24:28 +01:00
debian chore: Add libdisplay-info dependency for packaging 2025-01-06 20:23:05 +01:00
resources i18n (pt-BR) update translation 2025-03-05 18:27:32 +01:00
src shell: On output_remove, focus moved workspace instead of empty one 2025-03-12 15:44:35 +01:00
.gitignore Rework source filtering. 2023-01-04 01:52:16 -08:00
build.rs deps: Update to wayland-rs.0.30 2022-07-04 16:01:06 +02:00
Cargo.lock Update cosmic-protocols 2025-03-03 12:30:25 +01:00
Cargo.toml Update cosmic-protocols 2025-03-03 12:30:25 +01:00
flake.lock Update and fix flake.nix 2024-09-02 19:44:51 +02:00
flake.nix fix: add missing libdisplay-info library into flake.nix 2025-01-12 13:09:03 +01:00
i18n.toml i18n support 2023-07-06 00:04:34 +02:00
LICENSE Initial commit 2021-12-15 17:25:15 +01:00
Makefile Use new config from cosmic-settings-config 2024-09-04 20:50:42 +02:00
rust-toolchain.toml fix: unresolved import [of std] on NixOS in RA 2024-09-18 15:43:59 +02:00
rustfmt.toml Fix refresh_focus 2023-04-01 20:35:58 +04:00