aboutsummaryrefslogtreecommitdiff
path: root/include/capture
diff options
context:
space:
mode:
Diffstat (limited to 'include/capture')
-rw-r--r--include/capture/portal.h2
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);