No description
Find a file
Ian Douglas Scott 619e994955 kms: Fix inconsistent selection of primary GPU
Instead of choosing a primary GPU the first time `device_added` is
called (and then not updating it on the next call, even if that should
be the primary GPU), set the primary GPU only after all devices have
been initially added, and on future changes.

Alternately, the `was_empty` test can just be removed, but it's probably
best not to select the primary GPU multiple times each time the
compositor starts on a multi-GPU system.

Fixes https://github.com/pop-os/cosmic-comp/issues/1437.
2025-06-02 12:22:13 +02:00
.github/workflows .github/workflows/build.yml: Pass +stable to cargo 2025-05-19 21:29:51 +02:00
cosmic-comp-config Initial support for workspace pinning and moving 2025-04-24 12:45:50 +02:00
data Fix display vim bindings (j and k were swapped) 2025-05-09 08:47:03 -06:00
debian chore: Add libdisplay-info dependency for packaging 2025-01-06 20:23:05 +01:00
resources i18n(zh-CN): update translation 2025-05-19 21:52:09 +02:00
src kms: Fix inconsistent selection of primary GPU 2025-06-02 12:22:13 +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 shell: Using parking_lot's RwLock for fairness guarantees 2025-05-27 20:00:21 +02:00
Cargo.toml shell: Using parking_lot's RwLock for fairness guarantees 2025-05-27 20:00:21 +02: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 Update toolchain to Rust 1.85 2025-05-19 21:29:51 +02:00
rustfmt.toml Fix refresh_focus 2023-04-01 20:35:58 +04:00