From f756d5a0a72602a8f3d220a800fdfac20303d66a Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 6 Sep 2024 12:42:02 +0200 Subject: Allow prime run with desktop portal --- src/main.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src') diff --git a/src/main.cpp b/src/main.cpp index db44530..4693830 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2705,11 +2705,6 @@ int main(int argc, char **argv) { disable_prime_run(); } - if(strcmp(window_str, "portal") == 0 && is_using_prime_run()) { - fprintf(stderr, "Warning: use of prime-run with -w portal option is currently not supported. Disabling prime-run\n"); - disable_prime_run(); - } - if(video_codec_is_hdr(video_codec) && !wayland) { fprintf(stderr, "Error: hdr video codec option %s is not available on X11\n", video_codec_to_use); _exit(1); -- cgit v1.2.3