aboutsummaryrefslogtreecommitdiff
path: root/src/GsrInfo.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-03-15 00:39:37 +0100
committerdec05eba <dec05eba@protonmail.com>2025-03-15 00:56:38 +0100
commit63b2b6cbc34b9e34208f3bff96686b9bd3f54521 (patch)
treeb20334166fd064c6b35d29daea7350841a219897 /src/GsrInfo.cpp
parent6c7158c06d41fd7c77a8a8b9d186440904950f8c (diff)
Add region capture option
Diffstat (limited to 'src/GsrInfo.cpp')
-rw-r--r--src/GsrInfo.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/GsrInfo.cpp b/src/GsrInfo.cpp
index 5126d13..73f54ee 100644
--- a/src/GsrInfo.cpp
+++ b/src/GsrInfo.cpp
@@ -310,6 +310,8 @@ namespace gsr {
static void parse_capture_options_line(SupportedCaptureOptions &capture_options, std::string_view line) {
if(line == "window")
capture_options.window = true;
+ else if(line == "region")
+ capture_options.region = true;
else if(line == "focused")
capture_options.focused = true;
else if(line == "portal")