diff options
author | dec05eba <dec05eba@protonmail.com> | 2022-11-22 00:32:08 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-11-22 00:32:08 +0100 |
commit | 52bc7111147dd3e87e4bf0ae57241c2b81892f78 (patch) | |
tree | 412791c6236577f0a18494f3ac21c67419c1b5b1 /src/VideoPlayer.cpp | |
parent | cdfda3436aa96134797f6f1c45d76227770f1f4b (diff) |
Keep video player fullscreened when changing to the next video
Diffstat (limited to 'src/VideoPlayer.cpp')
-rw-r--r-- | src/VideoPlayer.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/VideoPlayer.cpp b/src/VideoPlayer.cpp index 28da43d..4a50f79 100644 --- a/src/VideoPlayer.cpp +++ b/src/VideoPlayer.cpp @@ -215,6 +215,9 @@ namespace QuickMedia { fprintf(stderr, "Wayland detected. Launching mpv in x11egl mode\n"); } + if(startup_args.fullscreen) + args.push_back("--fs=yes"); + if(startup_args.keep_open) args.push_back("--keep-open=yes"); |