No description
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. |
||
|---|---|---|
| .github/workflows | ||
| cosmic-comp-config | ||
| data | ||
| debian | ||
| resources | ||
| src | ||
| .gitignore | ||
| build.rs | ||
| Cargo.lock | ||
| Cargo.toml | ||
| flake.lock | ||
| flake.nix | ||
| i18n.toml | ||
| LICENSE | ||
| Makefile | ||
| rust-toolchain.toml | ||
| rustfmt.toml | ||