Ian Douglas Scott
373af07319
Implement pointer constraints; update to send frame manually
2023-09-29 19:21:13 +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
Victoria Brekenfeld
2a79221ff4
tiling: Fix moving single stack surfaces
2023-09-14 19:41:36 +02:00
Victoria Brekenfeld
973b360514
tiling: Fix stack indicator rendering
2023-09-14 19:41:36 +02:00
Victoria Brekenfeld
abd27e6aab
shell: Fix group backdrop on swap
2023-09-14 19:41:36 +02:00
Ian Douglas Scott
5df26c2317
Fix TilingLayout::element_under position with global workspaces
...
I didn't see any issue with how mouse events were handled, but a bisect
showed b818a68a91 caused the issue.
Reverting the definition of `element_under` to the version before that
change fixed the behavior.
Comparing what both versions return, the right element is returned, but
the location returned is wrong. This makes the return value match the
position that was returned by the previous implementation. It seems to
be working correctly now.
Fixes https://github.com/pop-os/cosmic-comp/issues/161 .
2023-09-13 14:26:52 -07:00
Victoria Brekenfeld
82c7d65049
tiling: Only render swap-preview on active output
2023-09-13 12:51:41 +02:00
Victoria Brekenfeld
a5b10f5d4a
tiling: Fix swap-focus always selecting whole stacks
2023-09-12 20:53:35 +02:00
Victoria Brekenfeld
9ad69fe119
tiling: Add logic to move on swap with empty workspace
2023-09-12 20:53:35 +02:00
Victoria Brekenfeld
2588b8920d
tiling: Fix wrong focus swapping across workspaces
2023-09-12 20:53:35 +02:00
Victoria Brekenfeld
dbb5338322
tiling: Fix toplevel-info on swap
2023-09-12 20:53:35 +02:00
Victoria Brekenfeld
e2ac5c0a23
tiling: Fix swap preview on different workspaces/outputs
2023-09-12 20:53:35 +02:00
Victoria Brekenfeld
e992a4b442
tiling: Fix swap mode with single window stacks
2023-09-12 20:53:35 +02:00
Victoria Brekenfeld
1251b7e9f7
shell/tiling: Implement window swap mode
2023-09-12 20:53:35 +02:00
Ian Douglas Scott
e7e9b768c8
Update Smithay, adjusting for API changes
...
The main changes are those related to pointer gestures. Which are a bit
verbose but not too difficult.
2023-09-05 13:46:48 -07:00
Victoria Brekenfeld
74706b440e
tiling: More precise group outline
2023-08-31 18:29:20 +02:00
Victoria Brekenfeld
380b00e083
render: Respect scale for indicator thickness
2023-08-31 18:17:37 +02:00
Victoria Brekenfeld
d50ad4e85c
tiling: Don't block on dead surfaces
2023-08-01 16:49:07 +02:00
Victoria Brekenfeld
4ee2763139
chore: Formatting updates
2023-07-31 17:36:32 +02:00
Victoria Brekenfeld
ac889f609d
tiling: Bugfixes for dragging windows
2023-07-31 17:29:42 +02:00
Victoria Brekenfeld
4a53e63c28
tiling: Cleanup dragging on output/workspace switch
2023-07-31 17:25:09 +02:00
Victoria Brekenfeld
10902ff543
stack: Allow dragging tabs out
2023-07-28 19:18:14 +02:00
Victoria Brekenfeld
9a3bfb4bba
tiling: Draw indicators for group lower than pill indicator
2023-07-28 14:20:50 +02:00
Victoria Brekenfeld
b9f321dae3
tiling: Finally fix layout code
2023-07-27 20:24:02 +02:00
Victoria Brekenfeld
730ec41b8f
tiling: Show pill indicator outer group indicator
2023-07-26 16:47:04 +02:00
Victoria Brekenfeld
e7026e0a7e
tiling: Cleanup group indicators on drop
2023-07-26 16:13:24 +02:00
Victoria Brekenfeld
3a5bffdb5c
tiling: Adjust mouse hover delays
2023-07-26 16:13:12 +02:00
Victoria Brekenfeld
bd276a2f23
tiling: Never render pill indicators in keyboard mode
2023-07-26 16:11:36 +02:00
Victoria Brekenfeld
86c3e00dfd
tiling: Bugfixes
2023-07-25 16:47:01 +02:00
Victoria Brekenfeld
952db34056
tiling: Increase mouse hover delay
2023-07-25 14:27:54 +02:00
Victoria Brekenfeld
88b7dbbd05
tiling: Logic for dropping windows
2023-07-24 21:14:34 +02:00
Victoria Brekenfeld
37c530c691
moving: Add stacking indicator
2023-07-24 19:31:31 +02:00
Victoria Brekenfeld
85edfc7141
tiling: Mouse dragging visuals
2023-07-21 16:08:55 +02:00
Victoria Brekenfeld
da59cbd768
tiling: Merge trees, if multiple are ready
2023-07-18 12:20:03 +02:00
Victoria Brekenfeld
8f2aa4e8a5
tiling: Add support for placeholder nodes
2023-07-17 21:35:59 +02:00
Victoria Brekenfeld
a8a5ee466a
shell: Generalize move grab
2023-07-17 21:11:23 +02:00
Victoria Brekenfeld
c7d4fa5d53
shell: Fix render order regarding popups
2023-07-13 17:19:29 +02:00
Victoria Brekenfeld
4ee5aaf741
deps: Replace cosmic-time with keyframe
2023-07-12 18:57:38 +02:00
Victoria Brekenfeld
b818a68a91
tiling: Properly handle resizing using a ptr device
2023-07-11 16:33:23 +02:00
Victoria Brekenfeld
92019b4286
shell: Enforce some minimum resize sizes
2023-07-07 18:23:34 +02:00
Victoria Brekenfeld
0ebcfa24a3
tiling: Also render resize indicators without active hint
2023-07-07 17:46:29 +02:00
Victoria Brekenfeld
99f29187af
render: Render resize indicator
2023-07-06 00:08:46 +02:00
Victoria Brekenfeld
2004705080
workspace/layout: Resize windows/groups
2023-07-06 00:08:46 +02:00
Victoria Brekenfeld
f5dcd97c42
input: Wire up internal resize action
2023-07-06 00:08:46 +02:00
Victoria Brekenfeld
691b6dfa8a
tiling: Allow each transaction to use custom duration
2023-07-06 00:08:46 +02:00
Victoria Brekenfeld
c145b3c35a
tiling: Better synchronize configures
2023-07-06 00:08:46 +02:00
Victoria Brekenfeld
1452281fa7
tiling: Focus whole stack on Focus::In
2023-06-30 15:15:21 +02:00
Victoria Brekenfeld
5884e287a5
stacking: Correctly restore decoration state
2023-06-30 15:15:21 +02:00