From 846241189e2a73dcd11605d3f77d61dce0469e02 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 8 Aug 2024 01:45:35 +0200 Subject: Add -portal-session-token-filepath option to specify where desktop portal session token is saved/restore --- include/capture/portal.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/capture') diff --git a/include/capture/portal.h b/include/capture/portal.h index 989b042..f80325d 100644 --- a/include/capture/portal.h +++ b/include/capture/portal.h @@ -9,6 +9,8 @@ typedef struct { bool hdr; bool record_cursor; bool restore_portal_session; + /* If this is set to NULL then this defaults to $XDG_CONFIG_HOME/gpu-screen-recorder/restore_token ($XDG_CONFIG_HOME defaults to $HOME/.config) */ + const char *portal_session_token_filepath; } gsr_capture_portal_params; gsr_capture* gsr_capture_portal_create(const gsr_capture_portal_params *params); -- cgit v1.2.3