Commit graph

303 commits

Author SHA1 Message Date
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
Ashley Wulber
b19f66702f
shortcuts: touchpad toggle keybind 2025-09-19 15:33:10 +02:00
Michael Aaron Murphy
64a9c1badf fix(config): move cosmic-randr-shell to main branch 2025-09-17 17:58:01 +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
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
f56ccf0a2e chore: Fix outdated lock-file 2025-08-05 12:16:15 +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
Victoria Brekenfeld
33044d9efb input: Add fullscreen shortcut 2025-07-04 19:45:54 +02:00
Ian Douglas Scott
791bcac2fd Update smithay with dma_shadow_copy fix
https://github.com/Smithay/smithay/pull/1767

Fixes errors and Nvidia driver crash with `cosmic-workspaces` on
AMD+Nvidia system.
2025-07-01 11:32:28 -07:00
Ian Douglas Scott
e581cbf05a Update smithay 2025-06-26 11:37:09 +02:00
Ian Douglas Scott
614d99fc05 Update smithay, egui, and smithay-egui 2025-06-25 20:32:53 +02:00
Jeremy Soller
48a165d182 Update libcosmic 2025-06-23 12:06:41 -06:00
Ashley Wulber
156742985d chore: add keybinding for power off button handling 2025-06-13 19:19:32 +02:00
Ashley Wulber
8a3436edb2 Revert "feat: power button handling"
This reverts commit 534584b9e48fcae406094367bdcb911f8957a523.
2025-06-13 19:19:32 +02:00
Ashley Wulber
8e3590fb4d feat: power button handling 2025-06-13 18:40:30 +02:00
Victoria Brekenfeld
e94377f4de chore: Update smithay 2025-06-03 15:38:44 +02:00
Ian Douglas Scott
4fa3113c76 Update smithay
https://github.com/Smithay/smithay/pull/1748
2025-06-02 18:58:49 +02:00
Victoria Brekenfeld
465813c1c5 shell: Using parking_lot's RwLock for fairness guarantees 2025-05-27 20:00:21 +02:00
Victoria Brekenfeld
4c0c61e94b chore: Update smithay 2025-05-27 20:00:21 +02:00
Ian Douglas Scott
b5d5479b86 Update to zbus 5.x
Depends on https://github.com/pop-os/libcosmic/pull/682.
2025-05-23 19:24:52 +02:00
Ian Douglas Scott
8dece70f7e Update smithay 2025-05-19 21:29:51 +02:00
Ian Douglas Scott
087715aa8f Update dependencies
Update `i18n-embed`, `ordered-float`, `sanitize-filename`, `thiserror`,
`reis`.
2025-05-19 21:29:51 +02:00
Ian Douglas Scott
eda0cce43f Run cargo update 2025-05-19 21:29:51 +02:00
Ian Douglas Scott
d7b37cfde5 Update smithay
Updates to use `GbmFramebufferExporter`.
2025-04-29 14:42:07 +02:00
Ian Douglas Scott
982af8ff10 Update smithay with ContextId changes
The new type bounds seem to be addressable using `AsGlowRenderer`.

Though things like this will need a different solution when we want to
support Pixman rendering.
2025-04-29 14:42:07 +02:00
Victoria Brekenfeld
d1e0e28d3c kms: Add tracy profiling 2025-04-28 18:03:09 +02:00
Ian Douglas Scott
96e9bf3b81 Initial support for workspace pinning and moving
Adds support for cosmic-workspace-v2 pin, unpin, move_after, and
move_before requests.

Both features need some work with workspaces span displays mode, so that
will need more fixes later.

We also want to generate a unique id for pinned workspaces to send in
the ext-workspace-v1 protocol. But that isn't a strict requirement for
anything. So I haven't yet fully implemented that. We'll also want to
persist other things, like workspace naming when that's added.

Overall, though, with separate workspaces per display, this is working
pretty well.
2025-04-24 12:45:50 +02:00
Victoria Brekenfeld
67d3225ef5 chore: use cosmic-text shape cache 2025-04-15 13:32:51 +02:00
Victoria Brekenfeld
2e7d051816 chore: update cosmic-protocols 2025-04-14 18:15:28 +02:00
Victoria Brekenfeld
0159bce9db chore: update smithay 2025-04-14 18:15:28 +02:00
Victoria Brekenfeld
c17543169a chore: Update smithay 2025-04-03 18:11:11 +02:00
Victoria Brekenfeld
23f51eb150 chore: Update smithay 2025-04-02 17:26:09 +02:00
Hugo
2b8a3f7894 Argument support with clap_lex 2025-03-31 18:16:31 +02:00