Ian Douglas Scott
4eaaf4f55c
dbus: Refactor to share DBus connections
...
We should avoid creating more than one session connection or more than
one system connection. We should also ideally avoid blocking the main
thread.
For now this still uses blocking in a couple places, but wrapping async
code (which is how `zbus::blocking` is implemented anyway).
This moves the `NameOwners` creation out of `A11yKeyboardMonitorState`,
so it can be shared with other things. We will likely want that for
https://github.com/pop-os/cosmic-comp/pull/465 to define a secured
protocol to pass an fd to the portal, and potentially any other
sensitive DBus protocols implemented by the compositor.
2026-06-08 19:03:50 +02:00
Ian Douglas Scott
3c834e9c85
dbus: Use FutureSource instead of a channel
2026-06-08 19:03:50 +02:00
Ian Douglas Scott
9f28a764a7
chore: update smithay
...
Includes the fix in https://github.com/Smithay/smithay/pull/2038 ,
which helps addresses a regression in controller input for Steam games.
2026-06-01 07:52:42 -07:00
Skygrango
4fb7d49316
chore: update smithay
2026-06-01 07:52:42 -07:00
Victoria Brekenfeld
1ce1ebdc1f
chore: update smithay
2026-05-19 19:26:25 +02:00
Ian Douglas Scott
4106904a7e
chore: Update smithay with Dispatch2
2026-05-19 19:26:25 +02:00
Ian Douglas Scott
826ad9a91a
chore: Update smithay
2026-04-27 14:51:46 -07:00
Victoria Brekenfeld
53e0db28ac
chore: Update smithay
2026-04-27 14:51:46 -07:00
Vukašin Vojinović
edc7758967
chore: update libcosmic
...
Improves header bar widget behavior.
2026-03-18 18:19:03 +01:00
Vukašin Vojinović
89a50197d2
refactor: use jiff instead of time
2026-03-18 18:19:03 +01:00
Vukašin Vojinović
d02051d16a
chore: remove unneeded dependencies
2026-03-18 18:19:03 +01:00
Ian Douglas Scott
e5954de6cd
Update smithay
...
https://github.com/Smithay/smithay/pull/1960
2026-03-18 01:34:33 +01:00
Ashley Wulber
efe0b45fbb
chore: update deps
2026-03-13 15:56:42 -04:00
Ashley Wulber
a48c4fc47d
chore: updates after iced rebase
2026-03-13 15:56:42 -04:00
Vukašin Vojinović
8768e46577
chore: update dependencies
...
Includes the `calloop` timer buildup fix.
2026-02-23 15:56:25 +01:00
Clayton Craft
fa3ffd18da
chore: Update smithay
...
Fixes #2081
This also reverts commit 0f7e53b , because the upstream commit (2e00119)
that introduced this thing was reverted
(https://github.com/Smithay/smithay/pull/1941 ).
There was also change in the cursor_capture_constraints signature in
smithay 7d992793f.
2026-02-23 13:21:08 +01:00
Ian Douglas Scott
38c3840b00
Update smithay with fix for image-copy leak
...
Includes fix from https://github.com/Smithay/smithay/pull/1928 .
2026-02-10 13:41:46 -08:00
Ian Douglas Scott
748ecb60a9
Add a profile-with-tracy-gpu feature
2026-02-05 02:01:14 +01:00
Ian Douglas Scott
0f7e53b600
Update smithay to latest commit
...
Includes an implementation for `VirtualKeyboardHandler`, which is now
required.
2026-02-05 02:01:14 +01:00
Victoria Brekenfeld
2f39c9682c
shaders: Add clipped-surface shader
2026-01-13 19:12:22 +01:00
Victoria Brekenfeld
a15e378f1e
chore: Update smithay
2026-01-08 00:20:18 +01:00
Vukašin Vojinović
bb05037db2
chore: bump MSRV to 1.90
2025-12-22 16:29:22 +01:00
Victoria Brekenfeld
df88a0e181
chore: smithay update
2025-12-09 17:03:19 +01:00
Victoria Brekenfeld
8fc7f0809f
chore: smithay update
2025-12-08 18:01:29 +01:00
Victoria Brekenfeld
77d3605fb9
Update smithay for DnD updates
2025-12-04 20:17:12 +01:00
Ian Douglas Scott
a3904af03c
wayland: Remove atspi protocol
...
If we want to use the `org.freedesktop.a11y.KeyboardMonitor` protocol on
Pop!_OS, there is no need to support the Cosmic-specific protocol that
requires an `at-spi2-core` patch.
2025-11-24 13:53:05 -08:00
Ian Douglas Scott
55401b1e53
dbus: Use ThreadPool instead of zbus blocking API
...
The `zbus` blocking API just wraps the async API with `block_on`, so we
may as well use our own executor.
2025-11-24 13:53:05 -08:00
Ian Douglas Scott
8455869439
Add a ThreadPool async executor to State
...
If we need to use simple async code in a few places, a single executor
may be better than having several threads blocking on async code.
This should probably use the calloop executor, but that's had issues in
cosmic-workspaces, though that may not apply here.
2025-11-24 13:53:05 -08:00
Ian Douglas Scott
282d76ef34
Set X11Surface hidden when a surface is minimized
...
This seems for an SDL XWayland client to restore fullscreen after
unminimize, it needs to see the `_NET_WM_STATE_HIDDEN` state get set
and unset.
In general `_NET_WM_STATE_HIDDEN` does not seem to cover all the
cases covered by waylands "suspended" state, so let's not equate them.
https://github.com/pop-os/cosmic-comp/issues/1510
2025-11-18 22:26:04 +01:00
Victoria Brekenfeld
1c74adf772
chore: smithay update
2025-11-14 09:14:22 +01:00
Ian Douglas Scott
e129094bfb
Update smithay
...
Updates for `last_acked`, etc. API changes in
https://github.com/Smithay/smithay/pull/1817 .
Includes layer shell fixes
from https://github.com/Smithay/smithay/pull/1819 .
2025-11-11 21:27:57 +01:00
Vukašin Vojinović
5a2eca29c3
chore: unused dependencies
...
Removes `bytemuck` and `smallvec`.
2025-10-22 23:55:11 +02:00
Vukašin Vojinović
3b70bc0265
chore: update dependencies
2025-10-22 23:55:11 +02:00
Ashley Wulber
be616e093f
chore: cosmic-protocols patch
2025-10-03 20:11:16 +02:00
Ashley Wulber
b3aa10436a
feat: corner-radius protocol support
2025-10-03 20:11:16 +02:00
Victoria Brekenfeld
9ea3ba01e2
chore: Update smithay
2025-09-09 14:34:13 +02:00
Victoria Brekenfeld
a840b52930
chore: smithay update
2025-09-08 13:07:40 +02:00
Ashley Wulber
2ccdb6c93d
cleanup
2025-08-26 11:30:56 -04:00
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
Ian Douglas Scott
f0e0084608
Update smithay, and adjust to use sync points from blit calls
2025-08-21 17:09:49 +02: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ć
35d781dc1e
chore: update dependencies
2025-08-21 13:10:11 +02:00
Victoria Brekenfeld
0efdfb25f5
chore: smithay update
2025-08-13 16:02:26 +02:00
Ashley Wulber
b3a67bca50
feat: sync state with greeter
2025-08-12 12:51:54 -04:00
Christian Duvholt
ec36104cd9
chore: Update smithay
2025-08-11 13:59:42 +02:00
Victoria Brekenfeld
8c9048f7c6
chore: Update smithay
2025-08-04 17:10:54 +02:00
Victoria Brekenfeld
f2fc1e9480
dbus: Take lid-inhibitor-locks on systemd systems
2025-07-31 12:59:32 +02:00
Ian Douglas Scott
7f4b3641b5
Update smithay
2025-07-30 19:01:32 +02:00
Victoria Brekenfeld
bb7a6a7113
chore: smithay update
2025-07-25 17:51:01 +02:00