Commit graph

1686 commits

Author SHA1 Message Date
Ian Douglas Scott
2fbf0081ea Fix compile warnings on nightly
Should fix CI test.
2025-08-12 18:03:27 -04:00
Ian Douglas Scott
4031f584ef Don't crash if GreeterAccessibilityState::config() fails
`cosmic-comp` should run without needing the greeter to be running (or
installed).
2025-08-12 18:03:27 -04:00
Ashley Wulber
b3a67bca50 feat: sync state with greeter 2025-08-12 12:51:54 -04:00
Victoria Brekenfeld
74e90f793f state/lid-inhibit: Take current lid state into account 2025-08-11 18:47:57 +02:00
Victoria Brekenfeld
de43fb1f0e config: Ignore configs disabling every output 2025-08-11 18:47:57 +02:00
Victoria Brekenfeld
cb2289e7b1 kms: Don't reload outputs for every single event 2025-08-11 18:47:57 +02:00
Victoria Brekenfeld
6897f81984 kms/device: Don't re-enumerate disabled outputs 2025-08-11 18:47:57 +02:00
Christian Duvholt
1db1d8149b output_configuration: Set wlr_output_head serial number 2025-08-11 13:59:42 +02:00
Christian Duvholt
ec36104cd9 chore: Update smithay 2025-08-11 13:59:42 +02:00
Victoria Brekenfeld
680542e4e2 kms/surface: Don't attempt to use overlay planes during animations 2025-08-07 19:40:23 +02:00
Victoria Brekenfeld
66712009fb kms/surface: Only skip cursor updates if the application renders consistently 2025-08-07 19:40:23 +02:00
Victoria Brekenfeld
a2dda33abe kms: Add min_vrr refresh rate safety margin 2025-08-07 19:40:23 +02:00
Victoria Brekenfeld
c3d2b5f0b7 element: Allow overriding default scanout behaviour 2025-08-07 19:40:23 +02:00
Victoria Brekenfeld
be1424f1ca render/wayland: filter scanout candidates by frametime estimation 2025-08-07 19:40:23 +02:00
Victoria Brekenfeld
db9380e6db kms: Fix direct scanout due to wrong node compare 2025-08-07 19:40:23 +02:00
Victoria Brekenfeld
28a9000833 wayland/compositor: Add per-surface frame time estimation 2025-08-07 19:40:23 +02:00
Ian Douglas Scott
38fe84abcf Log error return from main() with tracing
Previously this was printed to `stderr`, but not written to journald.
2025-08-06 11:45:18 +02:00
Victoria Brekenfeld
f56ccf0a2e chore: Fix outdated lock-file 2025-08-05 12:16:15 +02:00
Saeed
62debf747c i18n(fa): Add Persian translations 2025-08-05 12:11:12 +02:00
Victoria Brekenfeld
9f4db0b28b floating: Properly scale positions on migration (fixes #1167) 2025-08-04 17:11:46 +02:00
Victoria Brekenfeld
7948a97334 kms/surface: Remove old feedback on node-removal 2025-08-04 17:11:22 +02:00
Victoria Brekenfeld
8c9048f7c6 chore: Update smithay 2025-08-04 17:10:54 +02:00
Ashley Wulber
bdef75dc8c refactor: swap to the activated element's workspace if different 2025-08-01 17:52:45 +02:00
Ashley Wulber
cd5efd0741 refactor: fallback to last active seat for privileged activation token 2025-08-01 17:52:45 +02:00
Ashley Wulber
e1aa8f7cb4 fix: check layer map for root popup surface 2025-07-31 20:40:46 +02:00
Victoria Brekenfeld
a409770df7 kms: Correctly handle the source node not being initialized 2025-07-31 19:12:10 +02:00
Michael Aaron Murphy
86493b7898 improv(stack): use system theme colors 2025-07-31 17:19:49 +02:00
Victoria Brekenfeld
7ccfd7381e input: Handle lid-switch and disable/enable built-in display 2025-07-31 12:59:32 +02:00
Victoria Brekenfeld
f2fc1e9480 dbus: Take lid-inhibitor-locks on systemd systems 2025-07-31 12:59:32 +02:00
Victoria Brekenfeld
8648d4450e utils: Abstract built-in output check 2025-07-31 12:59:32 +02:00
Ian Douglas Scott
d6c1ca8c33 Use &dyn to simplify pointer/keyboard/touch target dispatch
Requires https://github.com/Smithay/smithay/pull/1334.
2025-07-30 19:01:32 +02:00
Ian Douglas Scott
7f4b3641b5 Update smithay 2025-07-30 19:01:32 +02:00
Victoria Brekenfeld
c688786d42 kms/device: Cleanup unused code 2025-07-28 17:46:46 +02:00
Victoria Brekenfeld
fd85e4ea56 kms: Don't incorrectly re-use iterator in update_surface_nodes 2025-07-28 17:46:46 +02:00
Victoria Brekenfeld
6492629f90 kms: Change awkward new trait to InnerDevice 2025-07-25 17:51:01 +02:00
Victoria Brekenfeld
87742c1e0c kms: Don't commit anything before updating the mode 2025-07-25 17:51:01 +02:00
Victoria Brekenfeld
e34a289c01 kms: lock during screen conf changes 2025-07-25 17:51:01 +02:00
Victoria Brekenfeld
bb7a6a7113 chore: smithay update 2025-07-25 17:51:01 +02:00
David Carvalho
2112e02fc9 i18n(pt-BR): update translation 2025-07-23 16:39:51 +02:00
Ashley Wulber
f2d6f70e13 fix: only activate the active window of the stack on activation 2025-07-22 13:31:24 +02:00
spl.
4cf612dd22 i18n - update russian translations 2025-07-22 12:31:39 +02:00
Daniel
7f814a445c
fix: Apply window snapping properly on multiple-output configurations (#1529) 2025-07-18 13:02:09 +02:00
Victoria Brekenfeld
0ef372f797 shell: Don't unconditionally focus on unfullscreen 2025-07-17 21:57:21 +02:00
Ian Douglas Scott
a74c90f14f input/actions: Clear keyboard focus moving to output with no window
Fixes https://github.com/pop-os/cosmic-comp/issues/1474.
2025-07-14 20:38:16 +02:00
Ian Douglas Scott
4cf319c09c input/actions: Change focus_follows_cursor to cursor_follows_focus
This caused confusing behavior when "focus follows cursor" was enabled,
but "cursor follows focus" was not. `update_focus_state` only updates
the cursor position if `cursor_follows_focus` is set, so this wasn't
actually moving the pointer when expected.

I presume this was a mistake, and `cursor_follows_focus` was intended
here.
2025-07-14 20:38:16 +02:00
Ian Douglas Scott
3debae2495 input/actions: Change active workspace / output when migrated
Without this, a workspace moved with the key binding seems to disappear.
This seems more consistent with the behavior of other key bindings.
2025-07-14 20:38:16 +02:00
Ian Douglas Scott
8aa501c0e0 shell: Make activate/end_workspace_swipe return Err if no set
It doesn't seem like there's really a need to have `Err(_)` and `Ok(None)`.

`Err(_)` means the set exists for the output, but doesn't have the
appropriate workspace index. It's a bit odd that the set not even
existing becomes `Ok(None)`.

Instead, just return `Err(InvalidWorkspaceIndex)` in either case.
2025-07-14 20:38:16 +02:00
Ian Douglas Scott
6f5a14e95c shell: Make activate return Some on Global workspace mode
This seems to have been returning `Ok(None)` erroneously. Fixing this
corrects output changing keybindings on global workspace mode.
2025-07-14 20:38:16 +02:00
Aliaksandr Truš
d6539804e9 i18n(be): Add Belarusian translation 2025-07-14 19:34:41 +02:00
therealmate
d6aa174093 Update Hungarian translations 2025-07-14 19:34:06 +02:00