xdg-desktop-portal-hyprland/src/core
columbarius b5491df0c0 screencast: destroy session if output is removed
We teardown all existing screencast_instances using the removed output
by destroying the frame, removing all timers and then marking the
instance as ready for teardown so we can destroy it after the last connected
session is closed.

Any wlr_screencopy_frame_v1 has to be destroyed before the connected
output can be removed. Otherwise wlr_screencopy_frame_v1_destroy
segfaults the whole program. To ensure this we will make all frame
callbacks safe to be triggered for a previous destroyed frame.
2022-05-31 01:23:34 +02:00
..
config.c chore(logging): change config file error to info 2022-04-18 18:44:47 +02:00
logger.c screencast: add outputchooser with config option 2021-04-02 15:07:38 +02:00
main.c Handle POLLHUP 2021-07-01 11:58:26 +02:00
request.c Screencast session support (#22) 2020-04-16 10:21:55 +02:00
session.c screencast: destroy session if output is removed 2022-05-31 01:23:34 +02:00
timer.c Control how many frames are captured per second 2021-03-08 16:59:17 +01:00
timespec_util.c Control how many frames are captured per second 2021-03-08 16:59:17 +01:00