No description
Find a file
Ian Douglas Scott 94fecec9cb Add a SplitRenderElements type, with useful methods
`(w_elements, p_elements)` tuples are used in a bunch of places. A
struct with named fields is generally an improvement just due to the
fact the order is non-obvious.

But we can also add methods. In particular,
`extend_from_workspace_elements` abstracts out some of the more
redundant code in `workspace_elements`.

It would be nice to avoid allocation everywhere, but iterators would
complicate lifetimes, run into issues with needing multiple mutable
borrows to things like the `Renderer`, and be awkward in certain
functions without generator syntax. In any case, cosmic-comp already
relies on allocating vectors here.

If this abstraction is commonly useful in compositors, perhaps it could
be moved to Smithay.
2024-07-15 17:12:05 +02:00
.github/workflows nix: fix builds and CI 2023-07-05 02:14:07 +08:00
cosmic-comp-config feat: configurable keyboard repeat rate and delay 2024-05-23 22:41:54 +02:00
data feat: runtime configurable keybindings 2024-07-01 15:20:23 +02:00
debian feat: runtime configurable keybindings 2024-07-01 15:20:23 +02:00
resources l10n(ru): Minor Russian l10n updates 2024-06-24 08:11:19 -06:00
src Add a SplitRenderElements type, with useful methods 2024-07-15 17:12:05 +02: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 chore: Update smithay 2024-07-10 22:36:40 +02:00
Cargo.toml chore: Update smithay 2024-07-10 22:36:40 +02:00
flake.lock nix: setup dev shell 2023-11-12 17:30:41 +04:00
flake.nix nix: setup dev shell 2023-11-12 17:30:41 +04: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 support CARGO_TARGET_DIR 2024-07-15 12:27:46 +02:00
rust-toolchain.toml chore: Update libcosmic 2024-06-26 16:36:21 +02:00
rustfmt.toml Fix refresh_focus 2023-04-01 20:35:58 +04:00