Ian Douglas Scott
e9848a2d4f
Update for toplevel-info cctk changes
...
Requires pop-os/cosmic-protocols#49 .
The duplication between applets, and
cosmic-workspace/xdg-desktop-portal-cosmic, should be moved to shared
abstractions. But that can be done after moving to
`ext-image-copy-capture`.
`ToplevelInfo` now contains both ext and cosmic handles, so the tuples
of handles and info are needed. Use just the info.
2025-02-13 12:29:39 -08:00
Ian Douglas Scott
4dc6f8b99f
Use updated screencopy abstraction
2025-02-06 15:14:47 -08:00
Ian Douglas Scott
293a91e8b1
Update for spawn_desktop_exec that calls SpawnTransientUnit
...
Allows `xdg-desktop-portal` to get app id from PID.
Also updates calls to `cosmic::process::spawn` to spawn in future.
2024-07-28 20:25:23 -07:00
Michael Aaron Murphy
8527257ddd
chore: add SPDX license identifiers
2024-05-06 21:56:50 +02:00
Ashley Wulber
1760354654
fix: capture dimensions must be > 0
2024-04-29 11:35:34 -04:00
Ryan Brue
631e59276e
fix: fixes when rebasing
2024-04-09 18:15:14 -04:00
Ryan Brue
27324f34e2
feat/fix: track output state in app-list
2024-04-09 18:15:14 -04:00
Ryan Brue
1e5af14bc4
fix: clippy lints
2024-04-03 20:12:45 -04:00
Ryan Brue
7aead1ce47
fix: don't take screencopy on every new toplevel
2024-04-03 20:12:45 -04:00
Ryan Brue
7592a3144f
feat: Set focused window as selected
2024-04-02 23:25:12 +02:00
Ryan Brue
769af3d944
improv(app-list): only send screencopy requests as needed
2024-04-02 23:24:18 +02:00
Ryan Brue
0629b18e00
feat: app list click: two or more toplevel behavior
2024-04-01 19:09:17 -04:00
Ryan Brue
5b78a9f22e
feat: app-list click: zero and single toplevel behavior
2024-04-01 19:09:17 -04:00
Victoria Brekenfeld
89986d8268
app-list: clippy fixes
2024-02-01 18:33:40 +01:00
Victoria Brekenfeld
dfd863c54f
app_list: Offer gpu selection
2024-02-01 18:33:40 +01:00
daniel.eades
e9af664888
flatten tautological enum names
2023-11-16 15:47:20 -05:00
Ashley Wulber
2141230229
refactor: connect to privileged socket if possible
2023-11-15 12:23:11 -05:00
Victoria Brekenfeld
99da3eda4a
app-list: Add xdg-activation
2023-11-08 10:55:31 -05:00