Ian Douglas Scott
94fecec9cb
Add a SplitRenderElements type, with useful methods
...
`(w_elements, p_elements)` tuples are used in a bunch of places. A
struct with named fields is generally an improvement just due to the
fact the order is non-obvious.
But we can also add methods. In particular,
`extend_from_workspace_elements` abstracts out some of the more
redundant code in `workspace_elements`.
It would be nice to avoid allocation everywhere, but iterators would
complicate lifetimes, run into issues with needing multiple mutable
borrows to things like the `Renderer`, and be awkward in certain
functions without generator syntax. In any case, cosmic-comp already
relies on allocating vectors here.
If this abstraction is commonly useful in compositors, perhaps it could
be moved to Smithay.
2024-07-15 17:12:05 +02:00
Victoria Brekenfeld
c506d94ac8
shell: Don't consider active overviews animations
2024-07-15 16:31:24 +02:00
Victoria Brekenfeld
c42a2ac279
tiling: Don't crash when swapping with group
2024-07-03 21:23:22 +02:00
Victoria Brekenfeld
b9a323c9ff
shell: Populate focus_stack when unstacking
2024-07-03 21:04:28 +02:00
Michael Aaron Murphy
553c49b42b
feat: runtime configurable keybindings
2024-07-01 15:20:23 +02:00
Victoria Brekenfeld
bd58481d19
element: Introduce CosmicMappedKey for safely hashing windows across threads
2024-06-26 12:59:33 +02:00
Victoria Brekenfeld
e78e199663
chore: Update smithay for thread-safety
2024-06-26 12:59:33 +02:00
Ian Douglas Scott
f2342f56c1
Update to latest Smithay version
2024-06-19 12:39:16 +02:00
Ian Douglas Scott
4f076e0753
Update smithay, with xwayland shell, Cow, etc.
2024-05-21 19:31:50 +02:00
Ian Douglas Scott
73b12194c0
Update smithay
2024-05-10 13:51:28 +02:00
Victoria Brekenfeld
5d5a510691
state: Move shell behind RwLock
2024-04-16 18:50:54 +02:00
Ian Douglas Scott
b18a3a8bc7
shell: Touch support for move grab
...
Touch support is still needed for other grabs. And SSDs (and libcosmic)
need to start move/menu/etc. based on touch.
2024-04-15 11:37:03 +02:00
Victoria Brekenfeld
5459f52d5e
input: Rework PointerFocus to operate directly on WlSurface
2024-03-26 18:50:56 +01:00
Victoria Brekenfeld
d341cb8b86
debug: Drop puffin integration
2024-03-21 17:49:06 +01:00
Ian Douglas Scott
a1c8b3aa3e
Add support for profiling using tracy
2024-03-20 23:55:21 +01:00
Victoria Brekenfeld
c685440155
theme: Revert theming of tiling overview ( fix #347 )
2024-03-11 17:07:39 +01:00
Victoria Brekenfeld
e959e4f1ac
tiling: Fix flickering on overview ( fix #345 )
2024-03-11 16:18:49 +01:00
Victoria Brekenfeld
e7f746ccee
shell: resize_request better handle tiled windows
2024-03-07 16:54:19 +01:00
Victoria Brekenfeld
d65016b4d4
moving: Unset tiling-state after dragging to non-tiled output
2024-03-06 17:38:44 +01:00
Victoria Brekenfeld
e008437f59
tiling: Fix rendering of too small tiles
2024-03-05 13:54:41 +01:00
Victoria Brekenfeld
4695da04f9
tiling: Fix missing cursor offset for window geometry
2024-03-05 13:54:24 +01:00
Victoria Brekenfeld
4d118dda8b
shell: Play with minimize duration again
2024-03-04 19:20:52 +01:00
Victoria Brekenfeld
e5ceb24b63
tiling: Ease minimize animation and use correct alpha for focus indicator
2024-03-04 19:20:52 +01:00
Victoria Brekenfeld
61a3f5c4c8
shell: Even longer minimize duration
2024-03-04 19:20:52 +01:00
Victoria Brekenfeld
625218bbf6
shell: Delay alpha changes for minimize animations
2024-03-04 19:20:52 +01:00
Victoria Brekenfeld
e669396fd5
tiling: Fix broken minimize animation
2024-03-04 19:20:52 +01:00
Victoria Brekenfeld
fa5af98b9d
tiling: Fix minimize duration
2024-03-04 19:20:52 +01:00
Victoria Brekenfeld
4f55f4127b
minimize: Slower animation
2024-03-04 19:20:52 +01:00
Victoria Brekenfeld
d32d49779b
tiling: Use tiling animation, even if placement can't be restored
2024-03-04 19:20:52 +01:00
Victoria Brekenfeld
30ca382d11
tiling: Allow flatten groups to be restore on unminimize
2024-03-04 19:20:52 +01:00
Victoria Brekenfeld
745267ac24
tiling: Minimize animation
2024-03-04 19:20:52 +01:00
Victoria Brekenfeld
3eb7e5f82e
shell: implement minimize
2024-03-04 19:20:52 +01:00
Victoria Brekenfeld
70a0aa8da3
tiling: Consider window contents outside tile for input
2024-03-04 13:19:57 +01:00
Victoria Brekenfeld
a668df27ae
tiling: Cleanup old code from spanning outputs
2024-03-04 13:19:57 +01:00
Ian Douglas Scott
3036448c19
Update Smithay, with Window that supports X11 surfaces
2024-02-22 17:49:46 +01:00
Victoria Brekenfeld
cbfda813ed
tiling: Fix focus toggling stacking
2024-01-15 11:02:56 +01:00
Victoria Brekenfeld
835dbe45f3
shell: Unify mapping windows into stacks logic
2024-01-15 11:02:56 +01:00
Victoria Brekenfeld
75990ff056
menu: Add stack tab specific menu
2023-12-12 18:39:41 +01:00
Victoria Brekenfeld
8c4d77e43c
shell: Add window menu
2023-12-12 18:39:41 +01:00
Victoria Brekenfeld
6ac8fd2f90
tiling: Add explicit toggle_stacking/_focused
2023-12-12 18:39:41 +01:00
Victoria Brekenfeld
c79c75eae7
tiling: Don't render popups for maximized elements
2023-11-23 12:57:42 +01:00
Victoria Brekenfeld
33688e9bcf
tiling: Fix rounding error causing overlap
2023-10-26 15:10:32 +02:00
Ashley Wulber
abbe94e6e1
feat: theme integration
...
refactor: only apply updates if there is a change in the theme
refactor: include theme in state
cleanup: theme integration
2023-10-25 19:41:55 +02:00
Victoria Brekenfeld
64143e75e7
shell: Properly handle fullscreen outputs
2023-10-25 19:41:55 +02:00
Victoria Brekenfeld
72df9d07e6
shell: One workspace per output
2023-10-25 19:41:55 +02:00
Victoria Brekenfeld
42aaafe586
utils: New geometry spaces local/global
2023-10-25 19:41:55 +02:00
Victoria Brekenfeld
4e12957169
chore: Update deps
2023-10-02 21:51:49 +02:00
Victoria Brekenfeld
4709a1d684
shell: Have Move-shortcut for floating layer and fullscreen windows
2023-09-20 18:57:58 +02:00
Victoria Brekenfeld
3d10ca6105
shell: Handle focus shortcuts for floating layer
2023-09-20 16:30:37 +02:00
Victoria Brekenfeld
5cebc7b97d
tiling: Fix rendering single-stack window on empty workspace
2023-09-14 19:41:36 +02:00