mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-12-23 01:59:49 +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. |
||
---|---|---|
.. | ||
config.h | ||
fps_limit.h | ||
logger.h | ||
pipewire_screencast.h | ||
screencast.h | ||
screencast_common.h | ||
screenshot.h | ||
timespec_util.h | ||
wlr_screencast.h | ||
xdpw.h |