Hojjat
2329cea5c9
fix: input to cropped tiled windows should be bound to the tile
2026-07-15 22:55:05 +02:00
Graham Walker
b8807a541f
Fix detached active window hint
2026-07-15 13:16:28 -06:00
Ilia Malanin
7a7c6b7fd4
fix: take into account pending maximized state when recalculating window geometry
2026-07-13 17:24:56 +02:00
Victoria Brekenfeld
db06770a6b
element: Refactor remaining libcosmic elements for blur
2026-07-09 18:08:01 +02:00
Victoria Brekenfeld
de8b47839c
render: Make blur_strength configurable
2026-07-09 18:08:01 +02:00
Victoria Brekenfeld
e4c0716951
element: Refactor element acquisition to be push based
2026-07-09 18:08:01 +02:00
Victoria Brekenfeld
178c6593dc
element: Introduce SurfaceRenderElement
2026-07-09 18:08:01 +02:00
Ian Douglas Scott
f765696834
Avoid unnecessarily unwrapping stack_ref() after is_stack()
...
In a lot of cases, matching on `stack_ref()` also works.
2026-07-07 17:46:23 -07:00
Ericky Dos Santos
031fdc389a
kms: change from thread_local approach to wiring scanout node through function calls to detect scanout candidates
2026-07-06 11:26:22 -06:00
Victoria Brekenfeld
ccc4f36065
chore: update smithay
2026-06-30 18:37:42 +02:00
Sai Asish Y
aff506bb7b
fix(floating): allow remapping minimized windows
...
Signed-off-by: Sai Asish Y <say.apm35@gmail.com>
2026-06-16 14:39:53 -06:00
SAY-5
69bb35e336
floating: don't panic if window disappears mid-unminimize
...
Signed-off-by: SAY-5 <say.apm35@gmail.com>
2026-06-16 14:39:53 -06:00
Ilia Malanin
31f317d16b
fix: skip dead windows in floating set_output
2026-06-12 13:08:14 +02:00
Hojjat
51dd3bc66f
fix: pass the full window size to xwayland
2026-06-09 10:42:22 -07:00
Skygrango
203cad8cbd
shell: disable WindowUI detection if constraint is active
2026-06-01 07:52:42 -07:00
Hojjat
b5186ef21a
fix: restore snapped windows as snapped after maximize/minimize
2026-05-13 12:43:02 +02:00
KENZ
977d4c2dca
refactor: make get_popup_toplevel() PopupKind agnostic
...
- for preparation to make unconstrain_popup() PopupKind agnostic.
2026-05-07 15:00:24 -06:00
Hojjat
fdf015cbcf
fix: consider SSD/tab height when calculating last server size
2026-04-20 12:08:47 -06:00
Salvatore Gabriele La Greca
9ad5c916f3
layout/floating: allow size altering if window was maximized ( #2038 )
2026-03-27 11:56:34 +01:00
Victoria Brekenfeld
5216eb50ba
chore: Fix remaining clippy lints
2026-03-24 16:23:43 +01:00
Vukašin Vojinović
2ca99c670a
chore: clippy
2026-03-18 18:19:03 +01:00
Ian Douglas Scott
c0c7a26178
Move some trait bounds to definition of AsGlowRenderer
...
Everything implementing `AsGlowRenderer` implements `Renderer` and various
other traits, and by making `AsGlowRenderer` depend on these trait,
things requiring `AsGlowRenderer` can avoid listing those traits as
well.
Looks like implied trait bounds still won't work for the
`Self::TexutureId` and `Self::Error` requirements? So those are not
included here.
2026-03-18 01:34:33 +01:00
Ian Douglas Scott
0d6c83db31
Revert "Move some trait bounds to definition of AsGlowRenderer"
...
This reverts commit c860fcddad .
Accidentally pushed to wrong branch.
If only branch protection has a way to prompt for overriding rule on
push...
2026-03-11 20:08:33 -07:00
Ian Douglas Scott
c860fcddad
Move some trait bounds to definition of AsGlowRenderer
...
Everything implementing `AsGlowRenderer` implements `Renderer` and various
other traits, and by making `AsGlowRenderer` depend on these trait,
things requiring `AsGlowRenderer` can avoid listing those traits as
well.
Looks like implied trait bounds still won't work for the
`Self::TexutureId` and `Self::Error` requirements? So those are not
included here.
2026-03-11 10:14:40 -07:00
Ilia Malanin
3f68eee846
shell: Extract FloatingLayout::snap_to_corner to deduplicate snap restore logic
2026-02-24 00:55:49 +01:00
Ilia Malanin
4565514e76
shell: Preserve snapped state through fullscreen/minimize round-trips
2026-02-24 00:55:49 +01:00
Ian Douglas Scott
de7c78accd
layout/tiling: Make cleanup_drag push tree only if something changes
...
Since `copy_clone()` preserved IDs, `traverse_pre_order_ids()` can be
called on the old tree, without collecting into a `Vec`.
Then we can also `copy_clone()` only if there's actually a change, and
also only call `push_tree()` in that case.
(Once the `LazyCell::get()` stabilization is released, we could use
that here, but `Option::get_or_insert_with()` may be more readable
anyway.)
With this, `cleanup_drag()` should be pretty low-cost, so we shouldn't
have to worry about whether or not it's redundant.
2026-02-09 17:07:03 -08:00
Hojjat
1dfc948f1e
fix: only move the grabbed window if a new zone is chosen
...
This should fix super+click on a tiled window poping it out of the tree
and tiling it to the right half of the screen (default drop window
behavior).
2026-01-26 12:08:58 +01:00
Hojjat
a623f18c25
fix: windows are clipped in overview mode causing visual artifact
2026-01-15 17:27:28 -07:00
Victoria Brekenfeld
e4e7567174
element: Clip to tile size if available instead of element geometry
2026-01-13 19:12:22 +01:00
Victoria Brekenfeld
8f7dc7f00c
render/outline: Handler inner/outer radius properly and ceil thickness
2026-01-13 19:12:22 +01:00
Victoria Brekenfeld
1e0c4f9b05
layout/tiling: Fix render order of group backdrop when swapping
2026-01-13 19:12:22 +01:00
Victoria Brekenfeld
f0b384e240
layout/tiling: Adjust corner radius by scale
2026-01-13 19:12:22 +01:00
Victoria Brekenfeld
6d0f1b273f
layout/tiling: Resize shadows to fit scaled windows
2026-01-13 19:12:22 +01:00
Victoria Brekenfeld
23e1bae96e
layout/tiling: Skip unnecessary stack window swap
2026-01-13 19:12:22 +01:00
Victoria Brekenfeld
a28b11cd5b
floating: Animate shadow position with the window
2026-01-13 19:12:22 +01:00
Victoria Brekenfeld
59fd732982
shell/elements: Handle clipping and shadows
2026-01-13 19:12:22 +01:00
Victoria Brekenfeld
2adebb5fe1
config: Add and propagate appearance_config
2026-01-13 19:12:22 +01:00
Ian Douglas Scott
612ff2f523
layout/floating: In unmap, don't alter size if no pending changes
...
If the intent here was that the `if let` would only handle the case
where there are pending changes, then something like this should be
right.
Seems to fix behavior in
https://github.com/pop-os/cosmic-comp/issues/1819 .
https://github.com/pop-os/cosmic-comp/issues/1645 may be the same issue.
2026-01-08 16:51:59 -07:00
Ian Douglas Scott
fa88002ba4
tiling: Add placeholder when tree is empty
2025-12-09 16:58:59 -07:00
Victoria Brekenfeld
813dd0ce1c
layout/tiling: Always send output_enter after swap
2025-12-09 16:58:44 -07:00
Victoria Brekenfeld
41d0cd8d2b
layout/tiling: Fix crash swapping across workspaces
2025-11-11 20:20:04 -07:00
Vukašin Vojinović
1f7f0c70b7
chore: format for Rust 2024
2025-10-22 23:55:11 +02:00
Vukašin Vojinović
b6c5d00bec
cargo fmt
2025-10-22 23:55:11 +02:00
Vukašin Vojinović
5e9ea93819
chore: manual clippy
2025-10-22 23:55:11 +02:00
Vukašin Vojinović
0847247c33
chore: clippy
2025-10-22 23:55:11 +02:00
Ashley Wulber
3465ce7602
feat: corner radius for CosmicMapped
2025-10-03 20:11:16 +02:00
Ashley Wulber
2873d6b27e
fix(corner-radius): properly handle no value, and use geometry
2025-10-03 20:11:16 +02:00
Ashley Wulber
6f93b8774d
cleanup use statements
2025-10-03 20:11:16 +02:00
Ashley Wulber
f01ebf2f6f
refactor(corner-radius): corner_radius method for CosmicSurface
2025-10-03 20:11:16 +02:00