Vukašin Vojinović
0847247c33
chore: clippy
2025-10-22 23:55:11 +02:00
Vukašin Vojinović
7f7ab8bcbe
chore: Rust 2024 edition
...
Set the formatting style to 2021 edition to avoid disrupting existing work.
Remove when possible.
2025-08-21 13:10:11 +02:00
Victoria Brekenfeld
be1424f1ca
render/wayland: filter scanout candidates by frametime estimation
2025-08-07 19:40:23 +02:00
Victoria Brekenfeld
28a9000833
wayland/compositor: Add per-surface frame time estimation
2025-08-07 19:40:23 +02:00
Victoria Brekenfeld
465813c1c5
shell: Using parking_lot's RwLock for fairness guarantees
2025-05-27 20:00:21 +02:00
Victoria Brekenfeld
b2ba402e2d
wl_compositor: Send initial size for maximized/fullscreen surfaces
2025-02-07 13:02:42 +01:00
Victoria Brekenfeld
156f634944
shell: Handle maximize requests before commit
2025-02-07 13:02:42 +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
Ian Douglas Scott
9dddead15d
Add linux-drm-syncobj-v1 protocol
2025-01-15 20:20:53 +01:00
Victoria Brekenfeld
9c7c41c508
toplevel-info/mgmt: Update to v2/v3
2024-09-23 10:55:00 +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
Ian Douglas Scott
1342c000ab
Add ext-foreign-toplevel-list-v1 protocol
2024-08-29 17:04:12 +02:00
Victoria Brekenfeld
92f3dbce01
chore: Cleanup
2024-06-26 12:59:33 +02:00
Victoria Brekenfeld
c7d50e7c5b
seat: Make render-related state thread-safe
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
fb88f389c3
Fix scheduling render on initial window configure map
...
Not sure if there's a better way to organize this, but this makes sure
`visible_output_for_surface` can find an output and schedule a render,
on initial configure.
Fixes https://github.com/pop-os/cosmic-comp/issues/476 .
2024-06-12 09:39:07 +02:00
Ian Douglas Scott
4f076e0753
Update smithay, with xwayland shell, Cow, etc.
2024-05-21 19:31:50 +02:00
Victoria Brekenfeld
5d5a510691
state: Move shell behind RwLock
2024-04-16 18:50:54 +02:00
Victoria Brekenfeld
647deb81f1
shell: Move seats into shell
2024-04-16 18:50:54 +02:00
Victoria Brekenfeld
6416299d58
shell: Send on_commit to sticky windows as well
2024-03-28 13:10:28 +01:00
Victoria Brekenfeld
cf75bc1952
chore: Update smithay/libcosmic
2024-03-26 18:50:56 +01:00
Victoria Brekenfeld
b40d153809
cosmic-screencopy-v2
2024-03-25 16:55:31 +01:00
Victoria Brekenfeld
973cfed87b
shell: Handle unmapped windows correctly
2024-03-25 12:51:01 +01:00
Ian Douglas Scott
3036448c19
Update Smithay, with Window that supports X11 surfaces
2024-02-22 17:49:46 +01:00
Victoria Brekenfeld
f9f8af10a0
kms: Drop early_import as it seems to hurt performance
2024-02-19 13:09:49 +01:00
Victoria Brekenfeld
83ec68d383
chore: Update smithay
2024-02-19 13:09:49 +01:00
Victoria Brekenfeld
97a13ea515
shell: Lift/Refactor (interactive) resize to consider sticky windows
2024-01-02 13:24:07 +01:00
Victoria Brekenfeld
10c196a080
shell: Lift recalculate to consider sticky_layer
2024-01-02 13:24:07 +01:00
Victoria Brekenfeld
d503e44ca8
shell: refactor single visible_output
2024-01-02 13:24:07 +01: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
4e12957169
chore: Update deps
2023-10-02 21:51:49 +02:00
Alyssa Ross
40eb78debf
wayland: map windows with correct geometry
...
Consider a simple client that doesn't use set_window_geometry,
committing after attaching a buffer to a window surface.
Window::geometry falls back to Window::bbox, but when
Shell::map_window called Window::geometry, Window::bbox hadn't been
set yet, because that only happened later in
<State as CompositorHandler>::commit, so the window would be mapped
with a size of (0, 0).
This resulted in server-side decorations not being drawn for such
clients until they were re-focused or resized.
The fix is to add an extra call to Window::on_commit() before mapping
it, so that its bbox is set correctly when Shell::map_window asks for
its geometry.
2023-09-21 14:39:45 +00:00
Victoria Brekenfeld
abf430f956
shell: Rework fullscreen/maximize
2023-09-14 19:41:36 +02:00
Victoria Brekenfeld
1868f6b0f7
shell: Recalculate tiling-layer when layer-shell updates
2023-07-13 18:00:09 +02:00
Victoria Brekenfeld
331b884f1e
tiling: Animate tree changes
2023-05-12 20:01:37 +02:00
Victoria Brekenfeld
35de500c00
chore: update smithay + switch to tracing
2023-02-24 17:43:07 +01:00
Victoria Brekenfeld
9b1221edc5
xwm: More fixes
2023-01-23 18:25:01 +01:00
Victoria Brekenfeld
1d28574088
xwayland: Add initial support
2023-01-18 20:25:32 +01:00
Victoria Brekenfeld
7992ad67f6
update smithay, iced; reworked window for xwayland
2023-01-16 15:37:54 +01:00
Victoria Brekenfeld
8a2e1e5c89
deps: Update smithay
2023-01-16 15:22:34 +01:00
Victoria Brekenfeld
38c0acb943
wayland: Explicitly handle destroyed surfaces
2022-11-23 16:10:37 +01:00
Victoria Brekenfeld
a8e0f99e4b
shell: Fix layer_shell
2022-11-23 16:10:37 +01:00
Victoria Brekenfeld
5a4df346a8
wip: screencopy
2022-11-23 16:09:58 +01:00
Victoria Brekenfeld
7d068ab6bc
shell/floating: Reintroduce resizing
2022-11-23 16:08:32 +01:00
Victoria Brekenfeld
00f1b029da
wip: New shell logic
2022-11-23 16:08:32 +01:00
Victoria Brekenfeld
6690e13d54
deps: Update smithay
2022-08-31 13:01:23 +02:00
Victoria Brekenfeld
9e0a6e1b5f
fmt commit
2022-08-30 13:28:36 +02:00