Commit graph

13 commits

Author SHA1 Message Date
Ian Douglas Scott
5269356089 Use Weak<Capture> in session state 2024-01-24 13:59:18 -08:00
Ian Douglas Scott
80e4fb0227 Work around panic 2023-12-12 11:59:32 -08:00
Ian Douglas Scott
c939486ce6 Fix a panic 2023-12-06 15:35:25 -08:00
Ashley Wulber
791441ca10 refactor: single instance 2023-11-21 19:26:12 -05:00
Ian Douglas Scott
0c19ea7167 Add CaptureImage type 2023-11-16 19:38:42 -08:00
Ian Douglas Scott
39401bf3c3 screencopy: Pass the node we're using to attach_buffer
Seems to make sure the compositor renders workspace with that GPU, so it
actually captures successfully.
2023-11-09 13:45:28 -08:00
Ian Douglas Scott
c567cb30d3 Move Bufffer::new to AppData::create_buffer
Will be needed to add support for dmabuf buffers. Also slightly cleaner
in general.
2023-11-08 15:05:45 -08:00
Ian Douglas Scott
b1d986ee71 Remove workaround for compositor issue that should be fixed 2023-11-08 14:09:34 -08:00
Ian Douglas Scott
9598a9f8e4 Use WlOutput instead of output names for matching
With a shared wayland connection between the code here and iced, if we
don't bind outputs outselves, we can have `WlOutput`s that match.

This simplifies things.
2023-11-08 13:59:53 -08:00
Ian Douglas Scott
4e2ef433fd Handle global workspaces 2023-03-22 10:03:18 -07:00
Ian Douglas Scott
4ca7c9fb56 Handle toplevel info updates 2023-02-10 13:41:08 -08:00
Ian Douglas Scott
b5931cd240 Initial support for filtering what to capture to only what's needed 2023-02-10 10:12:26 -08:00
Ian Douglas Scott
b29f1149a4 Split up wayland code into more files 2023-02-09 16:04:36 -08:00