aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-09-14 03:52:06 +0200
committerdec05eba <dec05eba@protonmail.com>2024-09-14 03:52:06 +0200
commitba9aa1f39f592cfa897400de839da7b6e0b93d47 (patch)
treed32ef5e1f667e984de578388c3ede28822053e59
parent714561987e264c5f3e9fb01d9ebbf545225b35b7 (diff)
Allow -fm content with monitor capture on x11
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 2c302ab..d12998f 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2771,7 +2771,7 @@ int main(int argc, char **argv) {
usage();
}
- if(framerate_mode == FramerateMode::CONTENT && (wayland || is_monitor_capture)) {
+ if(framerate_mode == FramerateMode::CONTENT && wayland) {
fprintf(stderr, "Error: -fm 'content' is currently only supported on X11 and when capturing a single window.\n");
usage();
}