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
e020bf6607
Update libcosmic/iced
2023-12-08 20:14:31 -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
e85741ca5d
Update iced/libcosmic
2023-12-05 09:48:59 -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
fccc5f26e5
Initial support for horizontal workspaces
2023-11-17 14:56:37 -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
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
01b007ef83
Update dependencies
2023-11-03 13:06:43 -07:00
Ian Douglas Scott
bbd0a1c128
WIP drag and drop
2023-07-20 15:48:19 -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
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
8bc6e66de1
Update sctk, iced, etc.
2023-04-04 16:20:40 -07:00
Ian Douglas Scott
f686ede90f
Don't cover panel
2023-03-27 10:37:30 -07:00
Ian Douglas Scott
1013a67413
Use exclusive_zone: -1 to not have panel impact position
...
Or need to make sure size is right, and it fills space other than panel?
2023-03-27 10:21:44 -07:00
Ian Douglas Scott
c655ea1823
Don't create an initial surface
2023-03-22 11:53:03 -07:00
Ian Douglas Scott
4e2ef433fd
Handle global workspaces
2023-03-22 10:03:18 -07:00
Ian Douglas Scott
69a877894a
Update dependencies
2023-03-16 14:08:20 -07:00
Ian Douglas Scott
e781ea0d34
Fix/workaround row/column space allocation
2023-02-22 14:37:49 -08:00
Ian Douglas Scott
4f01de3c46
Rename layer-shell namespace with "cosmic-" prefix
2023-02-21 15:20:43 -08:00
Ian Douglas Scott
d562fe57eb
Some spacing/alignment tweaks
2023-02-10 14:28:44 -08: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
a5b78a4300
Clippy fixes
2023-02-09 14:29:34 -08:00
Ian Douglas Scott
c46ab4f1e6
Recapture workspace/toplevel on damage; start code for filtering
...
For some reason using calloop makes output events not consistently
occur?
2023-02-09 14:00:22 -08:00
Ian Douglas Scott
04607b84aa
Don't ignore iced::Command
2023-01-26 16:01:43 -08:00
Ian Douglas Scott
cc87545b7d
Use iced_sctk re-export
2023-01-26 15:47:23 -08:00
Ian Douglas Scott
438b334352
Handle output update events
2023-01-20 14:02:52 -08:00
Ian Douglas Scott
747ffd8b23
Persist, and toggle with a dbus service
...
Seems to have some issues at present.
2023-01-19 16:29:20 -08:00
Ian Douglas Scott
349a7f5a3e
Handle toplevel removal
2023-01-18 11:01:47 -08:00
Ian Douglas Scott
0226f20da1
Make button close toplevels
2023-01-18 10:58:22 -08:00
Ian Douglas Scott
039e0a9585
Update deps and add Cargo.lock
2023-01-17 12:36:05 -08:00
Ian Douglas Scott
038d27fa88
Close button
2023-01-06 19:21:49 -08:00
Ian Douglas Scott
84de42fc65
Indicate which window is focused
2023-01-06 19:06:09 -08:00
Ian Douglas Scott
8a6ee91647
More toplevel fixes
2023-01-05 18:41:48 -08:00
Ian Douglas Scott
e14db1a243
Fix handling of active workspace
2023-01-05 18:30:50 -08:00
Ian Douglas Scott
65f7052d8b
Fix for window activation
2023-01-05 18:24:35 -08:00
Ian Douglas Scott
61726ad3cc
Try to support selecting toplevel
2023-01-04 15:41:19 -08:00
Ian Douglas Scott
82cedc6b78
WIP toplevel management
2023-01-04 15:17:57 -08:00
Ian Douglas Scott
65233e1a28
WIP way to activate workspace
2023-01-04 14:41:44 -08:00
Ian Douglas Scott
347f2a7060
Fill space proportionally
2023-01-03 12:38:02 -08:00