No description
Find a file
Ian Douglas Scott de7c78accd layout/tiling: Make cleanup_drag push tree only if something changes
Since `copy_clone()` preserved IDs, `traverse_pre_order_ids()` can be
called on the old tree, without collecting into a `Vec`.

Then we can also `copy_clone()` only if there's actually a change, and
also only call `push_tree()` in that case.

(Once the `LazyCell::get()` stabilization is released, we could use
that here, but `Option::get_or_insert_with()` may be more readable
anyway.)

With this, `cleanup_drag()` should be pretty low-cost, so we shouldn't
have to worry about whether or not it's redundant.
2026-02-09 17:07:03 -08:00
.github/workflows chore: update CI 2025-10-22 23:55:11 +02:00
cosmic-comp-config config: Update default for appearance_settings 2026-01-13 19:12:22 +01:00
data chore: screen reader toggle shortcut 2026-01-05 16:50:52 +01:00
debian Use automatic shared library dependency on libdisplay-info 2025-10-21 08:50:17 -06:00
examples Add example for customized window decorations 2025-10-29 11:27:14 +01:00
resources i18n: translation updates from weblate 2026-02-05 16:12:27 +01:00
src layout/tiling: Make cleanup_drag push tree only if something changes 2026-02-09 17:07:03 -08:00
.gitignore Rework source filtering. 2023-01-04 01:52:16 -08:00
build.rs cargo fmt 2025-10-22 23:55:11 +02:00
Cargo.lock Update smithay to latest commit 2026-02-05 02:01:14 +01:00
Cargo.toml Add a profile-with-tracy-gpu feature 2026-02-05 02:01:14 +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 chore: bump MSRV to 1.90 2025-12-22 16:29:22 +01:00
rustfmt.toml chore: format for Rust 2024 2025-10-22 23:55:11 +02:00