Commit graph

63 commits

Author SHA1 Message Date
7393ce1ff1 chore: align workspaces with local cosmic stack 2026-05-24 11:11:12 +02:00
Michael Aaron Murphy
2b9906f941 chore: update libcosmic and MSRV 2026-04-29 21:41:03 +02:00
Ashley Wulber
d62ac5ab59 chore: update deps 2026-03-17 16:06:09 -04:00
Ashley Wulber
d5024f5b24 chore: update deps 2026-03-17 16:06:09 -04:00
Ashley Wulber
d4becdd6c5 chore: updates after iced rebase 2026-03-17 16:06:09 -04:00
Vukašin Vojinović
5fbbf4ba37 chore: update dependencies 2026-02-20 23:54:21 +01:00
Lysander Treumann
a6b04ca007 Added branch action-on-typing to dependency cosmic-comp-config, which (unless merged) contains necessary changes to build cosmic-workspaces. 2026-02-03 10:14:14 +01:00
Ian Douglas Scott
41a940660c Use subscriptions to monitor cosmic-panel configs 2025-11-13 16:27:28 -08:00
Ian Douglas Scott
9968b0e61f workaround: Force shm on Meteor/Arrow/Lunar Lake 2025-09-22 14:45:40 -07:00
Ian Douglas Scott
b8780b9911 dbus: Add methods to show or hide 2025-09-22 14:41:29 -07:00
Ian Douglas Scott
c9a69bdfdb Expose DBus protocol with signals indicating when shown/hidden 2025-09-22 14:41:29 -07:00
Vukašin Vojinović
a939335b9e chore: Rust 2024 and update dependencies 2025-09-11 14:03:30 -07:00
Ian Douglas Scott
2f8f689cfd Update rustix to 1.x
We have both in the dependency tree now, so may as well update here.
2025-06-12 13:02:54 -07:00
Ian Douglas Scott
31f45648ca Update to zbus 5.x 2025-05-23 09:46:33 -07:00
Ian Douglas Scott
5bb719f617 Use cosmic-freedesktop-icons, like libcosmic 2025-05-15 10:05:57 -07:00
Vukašin Vojinović
2b7a8b133e improv(view): make workspace item sizing more dynamic
This makes the `workspace_bar` more responsive to different child sizes, which enables fixing the size of the smaller dimension of the screencopy, while allowing it to expand unrestricted in the larger dimension (to match the aspect ratio).
2025-04-16 18:25:04 -07:00
Ian Douglas Scott
74270a2deb Use ThreadExecutor instead of calloop executor
I thought the calloop executor had been fixed, but it still seems to
have issues that were preventing capture of continuous frames from
working consistently.

Fixes https://github.com/pop-os/cosmic-workspaces-epoch/issues/160.
2025-04-15 12:34:37 -07:00
Ian Douglas Scott
874245bc2e Use aliasable in AxisToplevelLayout to use slice in argument
This makes layouts possible to compose without clones.
2025-03-24 14:59:25 -07:00
Ian Douglas Scott
6b6bf454db Update to workspace v2, based on ext-workspace
Requires https://github.com/pop-os/cosmic-protocols/pull/51,
https://github.com/pop-os/cosmic-comp/pull/1225.

The new protocol version is a hard requirement, and this will panic
without it.
2025-03-07 22:24:36 -08:00
Ian Douglas Scott
a428659ade Use std LazyLock instead of once_cell crate 2025-01-16 10:21:35 -08:00
Ian Douglas Scott
e1895ea3d7 Update dependencies 2025-01-13 10:42:44 -08:00
Ian Douglas Scott
b70828e23f Update iced/libcosmic 2025-01-13 10:26:45 -08:00
Ian Douglas Scott
5e6c6054a9 Run cargo update; with iced changes and new wayland-rs 2024-06-12 09:17:06 -07:00
Ian Douglas Scott
d759e1d7c2 Use cosmic_bg_config to get background
Scaling doesn't match `cosmic-bg`?
2024-04-30 12:49:08 -07:00
Ian Douglas Scott
c75a48535a Add a mock backend for testing (including on other compositors)
Should help determine which issues are cosmic-comp bugs.
2024-04-23 13:44:59 -07:00
Ian Douglas Scott
3a60ba9565 Update gbm and run cargo update 2024-04-19 09:30:45 -07:00
Ian Douglas Scott
bf2cd273f9 Add a no-subsurfaces feature for debugging 2024-04-01 15:13:51 -07:00
Ian Douglas Scott
1fc416bb2e Add force-shm-screencopy feature for debugging 2024-04-01 14:44:29 -07:00
Ian Douglas Scott
f9cf9568d2 Update dependencies 2024-03-05 12:38:52 -08:00
Ian Douglas Scott
ab4cfd5bc5 Enable iced wgpu backend, which seems to perform better
A good software renderer probably should perform fine where subsurfaces
are used like for the actual images. Perhaps more improvement is needed
in the renderer.
2024-03-01 14:42:53 -08:00
Ian Douglas Scott
1bfcd50383 Update calloop, libcosmic, etc. 2024-03-01 13:07:37 -08:00
Ian Douglas Scott
2164c1ea5a Create shm buffer directly instead of using RawPool
Currently needed if we want an fd to pass to iced-sctk for subsurfaces.
Rather than a wl_buffer.

It would be good if this logic and the dmabuf type could be shared in
some crate.
2024-01-26 14:13:58 -08:00
Ian Douglas Scott
01a64b11fa Add scheduler for async in wayland thread 2024-01-25 17:06:28 -08:00
Ian Douglas Scott
b60102c908 Update dependencies 2024-01-22 14:56:31 -08:00
Ian Douglas Scott
8718c38a30 Update dependencies 2023-12-26 13:59:31 -08:00
Ian Douglas Scott
b2f81b1a73 i18n 2023-12-26 13:54:29 -08:00
Ian Douglas Scott
68beafe911 Subscribe to changes in cosmic-comp configuration 2023-12-21 10:41:46 -08:00
Ian Douglas Scott
899dfb0a3d Show icons for toplevels 2023-12-18 19:41:30 -08:00
Ian Douglas Scott
c4adca76c0 Use delegate crate to simplify things a bit. 2023-12-15 13:33:29 -08:00
Ian Douglas Scott
df81bd4e4c Fix dependency 2023-12-13 12:41:06 -08:00
Ian Douglas Scott
89021e3b8b Fix drag and drop; send command to compositor if supported 2023-12-11 14:06:41 -08:00
Ian Douglas Scott
e5aca0a6b5 Allow dragging toplevel 2023-12-06 10:03:39 -08:00
Ashley Wulber
791441ca10 refactor: single instance 2023-11-21 19:26:12 -05:00
Ian Douglas Scott
fccc5f26e5 Initial support for horizontal workspaces 2023-11-17 14:56:37 -08:00
Ian Douglas Scott
7f1f46c9c7 Error handling when creating gbm buffers 2023-11-16 13:36:38 -08:00
Ian Douglas Scott
acc7c3d472 Update gbm and run cargo update 2023-11-16 12:01:06 -08:00
Ian Douglas Scott
f585cbc32f Inital support for allocating dmabufs 2023-11-08 15:51:12 -08:00
Ian Douglas Scott
6fc90b6f2c Open GBM main device
Not yet used.
2023-11-08 14:54:42 -08:00
Ian Douglas Scott
9a822bd76d Add dmabuf protocol handler
Not used yet.
2023-11-08 14:32:33 -08:00
Ian Douglas Scott
01b007ef83 Update dependencies 2023-11-03 13:06:43 -07:00