cosmic-comp/src
Ian Douglas Scott e1a817bc06 kms/surface: Fix thread crash on error return of redraw
If `redraw()` returned early, before updating `self.state`, but after
calling `queue_frame`, `on_vblank` would later be called, and reach
`unreachable` since state isn't set to `WaitinfForVBlank`.

In particular, this was happening when the dmabuf from the image copy
frame failed to `bind`.

To avoid this, make sure to update `self.state` immediately after
calling `queue_frame`, before any early return from an error.
2025-05-19 19:58:36 +02:00
..
backend kms/surface: Fix thread crash on error return of redraw 2025-05-19 19:58:36 +02:00
config Initial support for workspace pinning and moving 2025-04-24 12:45:50 +02:00
dbus main: Update D-Bus activation environment also on non-systemd systems 2024-12-09 16:33:15 +01:00
input xwayland: Allow eavesdropping on certain keyboard/pointer events 2025-04-02 17:26:09 +02:00
logger log: Calloop is very chatty 2023-03-09 19:24:00 +01:00
shell shell: Remove null-bytes from X11 title/app_id 2025-04-30 12:50:33 +02:00
utils iced: Optimize updates 2025-04-28 18:03:09 +02:00
wayland Initial support for workspace pinning and moving 2025-04-24 12:45:50 +02:00
debug.rs chore: smithay update 2025-03-12 16:50:58 +01:00
main.rs kms: Add tracy profiling 2025-04-28 18:03:09 +02:00
session.rs Update smithay 2024-05-10 13:51:28 +02:00
state.rs protocols/workspace: Store request queue in workspace manager udata 2025-04-22 07:48:23 -07:00
systemd.rs Update smithay 2024-05-10 13:51:28 +02:00
theme.rs state: Move shell behind RwLock 2024-04-16 18:50:54 +02:00
xwayland.rs xwayland: Set scaled cursor size via xsettings 2025-04-16 21:06:51 +02:00