aboutsummaryrefslogtreecommitdiff
path: root/include/utils.h
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-07-15 18:57:33 +0200
committerdec05eba <dec05eba@protonmail.com>2024-07-15 19:02:34 +0200
commit048b8d21ecbd1168ff8e033b12cbfd66bba0127c (patch)
treef536c35090a6ed78803d064c0784370a2424ca7a /include/utils.h
parentc447a9a35f51815db307e5d58630040cd63ad4b7 (diff)
Add support for desktop portal capture (-w portal)
Diffstat (limited to 'include/utils.h')
-rw-r--r--include/utils.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/utils.h b/include/utils.h
index c5d659a..c08b3f6 100644
--- a/include/utils.h
+++ b/include/utils.h
@@ -6,7 +6,8 @@
#include "../include/defs.h"
#include <stdbool.h>
#include <stdint.h>
-#include <X11/extensions/Xrandr.h>
+
+typedef struct _XRRCrtcInfo XRRCrtcInfo;
typedef struct {
const char *name;
@@ -41,4 +42,6 @@ bool gsr_get_valid_card_path(gsr_egl *egl, char *output, bool is_monitor_capture
/* |render_path| should be at least 128 bytes in size */
bool gsr_card_path_get_render_path(const char *card_path, char *render_path);
+int create_directory_recursive(char *path);
+
#endif /* GSR_UTILS_H */