mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-11-26 16:05:59 +01:00
2f32d17448
Dequeuing a new buffer imidiately creates a problem when the buffer is destroid while renegotiation of a valid modifier because we can end up using a buffer which was freed while waiting for the buffer_done event. Then xdpw will segfault when requesting a copy with a nonexisting buffer. To fix this we can just dequeue a buffer right before we need it. This makes the fallback via on_process obsolete since we dequeue the buffer at the lates possible time. |
||
---|---|---|
.. | ||
fps_limit.c | ||
pipewire_screencast.c | ||
screencast.c | ||
screencast_common.c | ||
wlr_screencast.c |