Victoria Brekenfeld
505d9c4039
tiling: fix missing output_enter/set_bounds on remap
2025-07-14 17:38:35 +02:00
Victoria Brekenfeld
befcdadf88
floating: animation fixes
2025-07-04 19:45:54 +02:00
Victoria Brekenfeld
77084ba1cc
floating: Return pending geometry on unmap
2025-07-04 19:45:54 +02:00
Victoria Brekenfeld
83ed79af16
workspace: Consistently set minimized state
2025-07-04 19:45:54 +02:00
Victoria Brekenfeld
adedb705e7
shell: handle fullscreen windows on a dedicated layer
...
I hoped to split this up into multiple commits, but the api
changes to `shell/workspace.rs` were to invasive to feasibly do this.
Here is a rough list of changes:
- Fullscreen windows aren't mapped to other layers anymore
- This they need their own logic for:
- Sending frames
- Dmabuf Feedback
- Primary outputs
- On commit handlers
- cursor tests
- They get their own unmap/remap logic
- They get a new restore state similar to minimized windows
- Refactored the minimized window state to reuse as much as possible
here
- They need to be part of focus stacks, which means adjusting them
to a new type `FocusTarget` as they previously only handled
`CosmicMapped`.
- Various shell handlers (minimize, move, menu) now have dedicated
logic for fullscreen surfaces
- This was partially necessary due to relying on CosmicSurface now,
partially because they should've had their own logic from the
start. E.g. the context menu is now reflecting the fullscreen
state
- Fullscreen windows may be rendered behind other windows now, when they
loose focus.
- This needed changes to input handling / rendering
2025-07-04 19:45:54 +02:00
Ian Douglas Scott
e5fbf21fee
Remove debug prints that probably shouldn't have been merged
...
Also add a comment to the one place `eprintln!` is used to explain why
it's appropriate.
2025-07-03 14:25:49 +02:00
Victoria Brekenfeld
465813c1c5
shell: Using parking_lot's RwLock for fairness guarantees
2025-05-27 20:00:21 +02:00
Peter Krull
ad2cba324e
fix: Remove extra scaling of borders
2025-03-12 16:55:00 +01:00
Victoria Brekenfeld
95b27637ae
chore: smithay update
2025-03-12 16:50:58 +01:00
Victoria Brekenfeld
8a32571b8a
tiling: Exclude maximized windows from input/render
2025-03-07 18:52:03 +01:00
Victoria Brekenfeld
a1211e2499
floating: Refresh space after mapping
2025-03-07 14:37:17 +01:00
Victoria Brekenfeld
638684642c
stack: Remember position during continuous move action
2025-03-05 18:24:28 +01:00
Victoria Brekenfeld
e116f20396
stack: Remember previous position during focus navigation
2025-03-05 18:24:28 +01:00
Victoria Brekenfeld
61bde9f3b9
grabs/resize: Fix Xwayland geometry
2025-02-21 14:23:41 +01:00
Victoria Brekenfeld
a57a2163f6
floating: Fix resize indicator order
2025-02-20 20:11:40 +01:00
Daniel
2553810621
grabs: Snap Window Edges to Close Output Edges
2025-02-14 11:58:09 +01:00
Victoria Brekenfeld
f6143747da
layout/floating: Fix indicator element order
2025-02-07 13:32:30 +01:00
Victoria Brekenfeld
0deab8d9ed
layout/tiling: Fix swap stack overlay offset
2025-02-07 13:32:30 +01:00
Victoria Brekenfeld
c59e9a3c52
layout/tiling: Fix swap indicator element order
2025-02-07 13:32:30 +01:00
Ian Douglas Scott
63995c4919
Remove CosmicMapped::stack_ref_mut
...
The methods of `CosmicStack` take `&self`, so this isn't actually needed
for anything.
2025-01-28 10:13:52 -08:00
Victoria Brekenfeld
53d2cf01aa
floating/resize: Fix broken global geometry
2025-01-16 19:44:12 +01:00
Victoria Brekenfeld
75661c6ca7
tiling: Refactor blocker code
2025-01-16 19:44:12 +01:00
Victoria Brekenfeld
560d234036
tiling: Throttle resizes
2025-01-16 19:44:12 +01:00
Victoria Brekenfeld
cf26fe1c07
tiling: Fix flicker during resizing
2025-01-16 19:44:12 +01:00
Victoria Brekenfeld
e217a91fec
floating: Throttle resizes
2025-01-16 19:44:12 +01:00
Ian Douglas Scott
7f69244e07
Use Mul impl of Size
2025-01-07 12:50:35 +01:00
Ian Douglas Scott
b685512127
Migrate away from Rectangle::from_loc_and_size
...
Deprecated in `smithay` by https://github.com/Smithay/smithay/pull/1621 .
2025-01-07 12:50:35 +01:00
Victoria Brekenfeld
db13eea91c
shell: Allow active workspace to be None
2025-01-06 20:23:05 +01:00
Yureka
9b78a2d780
refactor(shell/element): refactor how decorations height is accessed
...
This fixes several things:
- The xwayland code previously incorrectly used the SSD_HEIGHT (for Windows) even when the X11 surface was in a stack
- The SSD_HEIGHT was defined in surface.rs, even though rendering serverside decorations is done in the window/stack
Rename (min|max)_size to (min|max)_size_without_ssd in CosmicSurface and make it act accordingly
Add a new (min|max)_size() in CosmicWindow and CosmicStack, which takes the surface's (min|max)_size and adds the decorations.
Change all callers to use (min|max)_size() from the window or stack respectively, except is_dialog() where it does not matter.
2024-12-28 15:32:03 +01:00
Ian Douglas Scott
61692b21ad
Run cargo format
2024-11-18 18:24:53 +01:00
may
65a54706f5
set cursor shape for resize grabs
2024-10-24 18:22:25 +02:00
Victoria Brekenfeld
0092dac08c
input: Use render_input_order
2024-10-22 19:43:47 +02:00
Victoria Brekenfeld
51c8588f89
render: Use render_input_order
2024-10-22 19:43:47 +02:00
Ian Douglas Scott
fb32d39b1b
Update smithay
2024-09-19 16:23:25 +02:00
Ian Douglas Scott
d02aecce61
Use .modified_sym() instead of casting keycode to keysym
...
Not sure if this is actually used, and if so the code may need more
testing, but this definitely is more correct, at least.
2024-09-19 16:23:25 +02:00
Ian Douglas Scott
01d78689b5
Run cargo fmt
2024-09-19 16:23:25 +02:00
Victoria Brekenfeld
4d215755f6
shell: Fix incomplete focus_stack after swapping
2024-09-10 21:10:02 +02:00
Victoria Brekenfeld
03430b76c5
shell: Allow moving groups between outputs
2024-09-10 20:51:08 +02:00
may
0ffe6ae718
wayland: Implement cursor-shape-v1
2024-09-09 16:21:27 +02:00
Richard Weber
bd95340992
Apply suggestions from code review
...
Co-authored-by: Victoria Brekenfeld <4404502+Drakulix@users.noreply.github.com>
2024-09-04 20:50:42 +02:00
Richard Weber
5482ff65e5
Add config reloading for tiling exceptions
2024-09-04 20:50:42 +02:00
Richard Weber
5fe9ba29eb
Use new config from cosmic-settings-config
2024-09-04 20:50:42 +02:00
Richard Weber
ec86fc33e0
Add error handling for configuration conversion to regex rules
2024-09-04 20:50:42 +02:00
Richard Weber
e8947b8742
Move tiling exceptions to configuration file
2024-09-04 20:50:42 +02:00
skewballfox
7da0bc430a
added cursor_follows_focus and focus_follows_cursor
2024-09-04 20:22:40 +02:00
julianbraha
52ad30c264
Remove unnecessary lifetimes
2024-08-30 17:53:56 +02:00
julianbraha
59b0e0e74e
Only use .cloned() on the element instead of the entire iterator
2024-08-29 16:39:39 +02:00
Richard Weber
bad8837d19
Add wl-clipboard to tiling exceptions
2024-08-14 11:05:58 -06:00
Victoria Brekenfeld
e5a7dfbdb0
layout/tiling: enumerate all children before swapping
2024-08-08 21:26:30 +02:00
Victoria Brekenfeld
450cc6a323
layout/tiling: Make swapping layout less confusing
2024-08-08 21:26:30 +02:00