Ashley Wulber
bb8e066d6d
feat(config): load cosmic-randr output Lists
2025-08-26 11:30:56 -04:00
Ashley Wulber
416b66b776
refactor(output config): move to config crate
...
this allows the greeter to easily sync to the user config
2025-08-26 11:30:56 -04:00
Vukašin Vojinović
7f7ab8bcbe
chore: Rust 2024 edition
...
Set the formatting style to 2021 edition to avoid disrupting existing work.
Remove when possible.
2025-08-21 13:10:11 +02:00
Vukašin Vojinović
fec7c94605
chore: use std::sync::LazyLock
2025-08-21 13:10:11 +02:00
Victoria Brekenfeld
8648d4450e
utils: Abstract built-in output check
2025-07-31 12:59:32 +02:00
Ian Douglas Scott
e5fbf21fee
Remove debug prints that probably shouldn't have been merged
...
Also add a comment to the one place `eprintln!` is used to explain why
it's appropriate.
2025-07-03 14:25:49 +02:00
Victoria Brekenfeld
8194be30c6
kms: Allow updating the primary node
...
Add more sophisticated code to handle the primary node disappearing.
Also overhaul the selection logic to respect our allow/deny-list and
prefer devices with built-in connectors before using the boot gpu.
This will also allow triggering a primary node switch at runtime
for debugging purposes in the future.
2025-05-27 20:00:21 +02:00
Victoria Brekenfeld
913ed90b04
kms: Add allow/deny-listing of drm devices
2025-05-27 20:00:21 +02:00
Victoria Brekenfeld
0be83fe930
iced: Optimize updates
2025-04-28 18:03:09 +02:00
Victoria Brekenfeld
67d3225ef5
chore: use cosmic-text shape cache
2025-04-15 13:32:51 +02:00
Ian Douglas Scott
e74eafce2c
Add EdidProduct, as user data for kms Outputs
...
This is the same as `libdisplay_info::edid::VendorProduct`, but with
implementations for `Serialize`, `Eq`, etc.
2025-04-02 13:40:56 +02:00
Victoria Brekenfeld
0ba0a0cdaa
a11y/zoom: zoom level per output
2025-03-28 18:35:06 +01:00
Victoria Brekenfeld
0ed2841435
iced: Don't call update from render_elements
2025-03-12 16:59:05 +01:00
Victoria Brekenfeld
0f5ba624c5
iced: Don't throttle resizes
2025-03-12 16:59:05 +01:00
Victoria Brekenfeld
95b27637ae
chore: smithay update
2025-03-12 16:50:58 +01:00
Victoria Brekenfeld
24bf2e856a
iced: refresh after output_enter
2025-03-07 14:37:17 +01:00
Victoria Brekenfeld
909ca8cf9d
zoom: Seperate animating/current focal_point
2025-02-20 23:51:55 +01:00
Victoria Brekenfeld
24b5742554
iced: Allow rendering at a higher native scale than it's output
2025-02-20 23:51:55 +01:00
Victoria Brekenfeld
f72d2b91f3
shell: Add zoom UI
2025-02-20 23:51:55 +01:00
Victoria Brekenfeld
df9441804d
iced: Track last seat/serial for grabs
2025-02-20 23:51:55 +01:00
Victoria Brekenfeld
61d44b3a9d
utils: Move NextDown
2025-02-20 23:51:55 +01:00
Ian Douglas Scott
b685512127
Migrate away from Rectangle::from_loc_and_size
...
Deprecated in `smithay` by https://github.com/Smithay/smithay/pull/1621 .
2025-01-07 12:50:35 +01:00
Ashley Wulber
5b89ad27fb
fix: manually scale the damage
2024-12-12 07:53:58 +01:00
Ashley Wulber
3132767a60
fix: improve damage tracking
2024-12-12 07:53:58 +01:00
Ashley Wulber
892c05f4fc
fix(iced): use internal_ref size
2024-12-12 07:53:58 +01:00
Vukašin Vojinović
7de52054ff
chore: update iced/libcosmic
2024-12-11 16:58:16 +01:00
Victoria Brekenfeld
81b9fb179b
output-configuration: Support cosmic-ext v2
2024-11-27 09:37:01 +01:00
Victoria Brekenfeld
80965a61b9
kms: Adaptive VRR support
2024-11-27 09:37:01 +01:00
Ian Douglas Scott
087be20365
Add util function for boolean env vars
...
It's probably good to be consistent about what is recognized as "true"
without copying the same code.
2024-10-15 11:45:46 +02:00
Vukašin Vojinović
b7a34bdd1e
fix(menu): styling
...
Also improves the styling of resize indicators, and removes the unnecessary `.density()` method call for the SSD header.
2024-10-10 19:58:56 +02:00
julianbraha
2e2356ab5f
Use map.entry().or_insert() instead of map.contains_key() and map.insert()
2024-08-29 16:39:39 +02:00
Victoria Brekenfeld
10d45f7134
iced: Set default font
2024-08-08 16:44:27 +02:00
Ian Douglas Scott
87020c79ba
Define a RendererRef enum, referencing multi or glow renderer
...
Avoids a little duplication (matching two variants, instead of three
backends).
The behavior, including errors and panics, should be unchanged for now.
Performance should also not be impacted.
This should help for adding llvmpipe rendering without a device node on
the kms backend, or for adding a variant for pixman.
2024-08-07 10:49:39 -07:00
Victoria Brekenfeld
5aaac707f8
window: Fix round corners on maximize
2024-08-02 20:54:15 +02:00
Victoria Brekenfeld
61f11d1363
element/stack: Style fixes
2024-07-26 14:59:11 +02:00
Ian Douglas Scott
0636bcdef3
Add workspace_overview_is_open function; put in a utils::quirks mod
...
This is increasingly not just related to screencopy, so it's weird to
add there. I don't see any other module that fits, so add one called
"quirks" (like the Linux kernel uses for device-specific handling in
generic drives).
2024-07-15 17:12:05 +02:00
Victoria Brekenfeld
469a366207
kms: New backend
...
New backend utilizing a thread per surface for precise frame
scheduling.
2024-06-26 12:59:33 +02:00
Victoria Brekenfeld
bd58481d19
element: Introduce CosmicMappedKey for safely hashing windows across threads
2024-06-26 12:59:33 +02:00
Victoria Brekenfeld
f481112cf9
output-configuration: Test all outputs at once
2024-06-26 12:59:33 +02:00
Victoria Brekenfeld
e78e199663
chore: Update smithay for thread-safety
2024-06-26 12:59:33 +02:00
Ian Douglas Scott
4f076e0753
Update smithay, with xwayland shell, Cow, etc.
2024-05-21 19:31:50 +02:00
Ian Douglas Scott
73b12194c0
Update smithay
2024-05-10 13:51:28 +02:00
Victoria Brekenfeld
5f4377bf59
wayland: Add cosmic-output-management
2024-05-07 12:25:15 +02:00
Victoria Brekenfeld
98ec82db77
output-configuration: Add vrr state
2024-05-07 12:25:15 +02:00
Victoria Brekenfeld
647deb81f1
shell: Move seats into shell
2024-04-16 18:50:54 +02:00
Victoria Brekenfeld
6ba7242cfc
main: Increase soft file limit
2024-04-05 13:49:36 +02:00
Ian Douglas Scott
26d2556be0
Initial touch support for SSD
2024-04-02 17:12:28 +02:00
Ian Douglas Scott
39ebf39e4f
Update libcosmic/iced
2024-03-22 21:54:45 +01:00
Ian Douglas Scott
a1c8b3aa3e
Add support for profiling using tracy
2024-03-20 23:55:21 +01:00
Victoria Brekenfeld
ef3486f7e0
kms: Track used devices and free resources
2024-02-19 13:09:49 +01:00