diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-08-08 01:45:35 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-08-08 01:45:35 +0200 |
commit | 846241189e2a73dcd11605d3f77d61dce0469e02 (patch) | |
tree | de0ea3a682bfc41ae0cd1256ae10d075461c26f1 /include/capture | |
parent | 7bee923938bc1756110461c916a945979a7c197b (diff) |
Add -portal-session-token-filepath option to specify where desktop portal session token is saved/restore
Diffstat (limited to 'include/capture')
-rw-r--r-- | include/capture/portal.h | 2 |
1 files changed, 2 insertions, 0 deletions
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); |