aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index fca2f87..120280d 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -63,6 +63,11 @@ int main(int argc, char **argv) {
exit(1);
}
+ if(gsr_info.system_info.display_server == gsr::DisplayServer::WAYLAND) {
+ fprintf(stderr, "error: Wayland is currently not supported\n");
+ exit(1);
+ }
+
std::string resources_path;
if(access("images/gpu_screen_recorder_logo.png", F_OK) == 0) {
resources_path = "./";