Commit graph

95 commits

Author SHA1 Message Date
Ian Douglas Scott
e020bf6607 Update libcosmic/iced 2023-12-08 20:14:31 -08:00
Ian Douglas Scott
c939486ce6 Fix a panic 2023-12-06 15:35:25 -08:00
Ian Douglas Scott
5550f41814 dnd: Keep track of drop target
Now just need a protocol to move the toplevel to a workspace.
2023-12-06 11:02:21 -08:00
Ian Douglas Scott
f2c77d035c Drag toplevel to workspace; recognize what toplevel was dragged 2023-12-06 10:51:55 -08:00
Ian Douglas Scott
e5aca0a6b5 Allow dragging toplevel 2023-12-06 10:03:39 -08:00
Ian Douglas Scott
8722fe574a Fix drag and drop code
Still need to implement actual behavior.
2023-12-05 17:44:05 -08:00
Ian Douglas Scott
a85cf3f527 Add "new workspace" button
Still needs implementation. Can't set number of workspaces per display.
2023-12-05 16:58:53 -08:00
Ian Douglas Scott
e85741ca5d Update iced/libcosmic 2023-12-05 09:48:59 -08:00
Ian Douglas Scott
17d231f497 Run cargo update 2023-12-04 11:07:03 -08:00
Ashley Wulber
f61cdc5759 fix: use default style so the workspaces view is not transparent 2023-11-21 19:26:12 -05:00
Ashley Wulber
791441ca10 refactor: single instance 2023-11-21 19:26:12 -05:00
Ian Douglas Scott
a0a11b6e02 More appropriate button theming 2023-11-17 15:12:35 -08:00
Ian Douglas Scott
fccc5f26e5 Initial support for horizontal workspaces 2023-11-17 14:56:37 -08:00
Ian Douglas Scott
94561b9ed1 Use cosmic::widgets 2023-11-16 20:09:10 -08:00
Ian Douglas Scott
0c19ea7167 Add CaptureImage type 2023-11-16 19:38:42 -08:00
Ian Douglas Scott
f5045286a9 Move view functions to a module 2023-11-16 19:25:28 -08:00
Ian Douglas Scott
eb38e3c3ba Fix lints 2023-11-16 13:42:19 -08:00
Ian Douglas Scott
96389fa999 Remove manual Hash impl
Added support for this to wayland-rs.
2023-11-16 13:38:37 -08:00
Ian Douglas Scott
7f1f46c9c7 Error handling when creating gbm buffers 2023-11-16 13:36:38 -08:00
Ian Douglas Scott
295fee8796 Support creating wl_buffer for multi-planar dmabuf
Apparently `I915_y_tiled_ccs` is a 2 plane format.
2023-11-16 13:23:26 -08:00
Ian Douglas Scott
acc7c3d472 Update gbm and run cargo update 2023-11-16 12:01:06 -08:00
Ian Douglas Scott
2257e49bba Run cargo update 2023-11-10 14:44:29 -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
a5f2be7e88 debian: Depend on libgbm-dev 2023-11-08 16:50:44 -08:00
Ian Douglas Scott
549d9c1ff4 Use correct stride for reading dmabufs 2023-11-08 16:28:53 -08:00
Ian Douglas Scott
f585cbc32f Inital support for allocating dmabufs 2023-11-08 15:51:12 -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
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
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
96cd334b81 Share wayland connection with iced-sctk instead of creating new one 2023-11-08 13:31:13 -08:00
Ian Douglas Scott
c34857b34c debian: Add libwayland-dev build dependency 2023-11-08 13:18:45 -08:00
Ian Douglas Scott
01b007ef83 Update dependencies 2023-11-03 13:06:43 -07:00
Jeremy Soller
63f299a0be
Merge pull request #5 from wiiznokes/patch-1
Update .gitignore
2023-10-05 17:00:08 -06:00
wiiznokes
3eed0c236a
Update .gitignore 2023-10-05 23:08:26 +02:00
Jeremy Soller
d8c820b86f
Add .gitignore 2023-09-11 13:34:20 -06:00
Jeremy Soller
dccdcee374
cargo update 2023-09-11 13:34:13 -06:00
Ian Douglas Scott
bbd0a1c128 WIP drag and drop 2023-07-20 15:48:19 -07:00
Ian Douglas Scott
970b07fa58 Fix panic in background thread 2023-07-20 15:42:32 -07:00
Ian Douglas Scott
c98b48586f Update dependencies 2023-07-20 14:49:17 -07:00
Ian Douglas Scott
f8a3c4ba55 WIP drag-and-drop 2023-07-20 14:49:12 -07:00
Ian Douglas Scott
33a1578eb0 Run cargo update 2023-07-10 09:59:10 -07:00
Ian Douglas Scott
2453276991 Update to libcosmic master 2023-05-31 15:59:03 -07:00
Ian Douglas Scott
078fc31713 Update libcosmic/iced for advanced text rebase 2023-05-12 13:25:19 -07:00
Ian Douglas Scott
60a4a2fa63 Initialize env_logger 2023-04-13 14:30:47 -07:00
Ian Douglas Scott
3dedd6940c Cargo update 2023-04-07 11:33:54 -07:00
Ian Douglas Scott
8bc6e66de1 Update sctk, iced, etc. 2023-04-04 16:20:40 -07:00
Ian Douglas Scott
7b912f7ea6 Add .desktop file 2023-03-31 19:04:45 -07:00
Ian Douglas Scott
f686ede90f Don't cover panel 2023-03-27 10:37:30 -07:00