Commit graph

189 commits

Author SHA1 Message Date
Victoria Brekenfeld
9ecfa8bfda floating: Fix initial size for previously maximized 2023-12-12 18:39:41 +01:00
Victoria Brekenfeld
f6c28466e9 floating: Add 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
ea14033d06 input: Fix stack overflow due to shortcut priorities 2023-11-23 12:57:42 +01:00
Victoria Brekenfeld
ebd781b678 floating/resize: Fix local/global coordinate conversions 2023-11-23 12:57:42 +01:00
Victoria Brekenfeld
92c16bd4ad floating: Transition via maximized state 2023-11-16 19:21:02 +01:00
Victoria Brekenfeld
90bf3b5668 floating: New reference windows outside 2023-11-16 19:21:02 +01:00
Victoria Brekenfeld
cf5b21f437 floating: Animate tiling state changes 2023-11-16 19:21:02 +01:00
Victoria Brekenfeld
2d15fb9766 floating: Handle tiling shortcuts 2023-11-16 19:21:02 +01:00
Victoria Brekenfeld
d09abc4728 floating: New window spawn positions 2023-11-16 19:21:02 +01:00
Victoria Brekenfeld
f7cc1985e3 xdg-activation: Initial implementation 2023-11-09 13:48:34 +01:00
Victoria Brekenfeld
a9573939a4 tiling/resize: Use old tree for correct ratios 2023-10-26 18:22:10 +02:00
Victoria Brekenfeld
33688e9bcf tiling: Fix rounding error causing overlap 2023-10-26 15:10:32 +02:00
Victoria Brekenfeld
3901e637b0 floating: Don't render hint for maximized window 2023-10-25 19:41:55 +02:00
Victoria Brekenfeld
5b7efa3a8b floating: Restore size of moved maximized windows correctly 2023-10-25 19:41:55 +02:00
Victoria Brekenfeld
d6434d322e floating: Limit resizing to current output 2023-10-25 19:41:55 +02:00
Ian Douglas Scott
8561ab672b Update smithay 2023-10-25 19:41:55 +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
69563420fb shell: Rework maximize/fullscreen 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
PixelDots
12067d8b30 Fix windows resizing after being moved
revert `457b000e68`
2023-10-06 11:34:14 -05:00
PixelDots
457b000e68 Fix windows resizing after being moved 2023-10-06 09:35:13 -05:00
Victoria Brekenfeld
4e12957169 chore: Update deps 2023-10-02 21:51:49 +02:00
PixelDots
37fb26a403 Added Modifier-only keybinding support 2023-09-30 08:44:04 -05:00
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