aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-09-06 12:42:02 +0200
committerdec05eba <dec05eba@protonmail.com>2024-09-06 12:42:02 +0200
commitf756d5a0a72602a8f3d220a800fdfac20303d66a (patch)
tree6803503f6a53e46d1cb3d04a1d3b6e0ac9f8e3e3
parent954a41de9cde43f68eae0340cc1ed109257f9356 (diff)
Allow prime run with desktop portal
-rw-r--r--src/main.cpp5
1 files changed, 0 insertions, 5 deletions
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);