Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fullscreen option doesn't work right #1937

Closed
ghost opened this issue May 15, 2015 · 2 comments
Closed

Fullscreen option doesn't work right #1937

ghost opened this issue May 15, 2015 · 2 comments

Comments

@ghost
Copy link

ghost commented May 15, 2015

If I play a video with Fullscreen option the video start in windowed mode.
If I press F nothing happen.
If I press again F the video switch in Fullscreen

But if I enable vf=expand=::::16/9 the Fullscreen option works normaly

I'm on Netrunner 14 x64 (Kubuntu 14.04 derivative) with nvidia 349.16 drivers and MPV 0.91

ghost pushed a commit that referenced this issue May 15, 2015
It appears some WMs have a problem with out method of setting initial
fullscreen mode. We assume that if the window's _NET_WM_STATE includes
_NET_WM_STATE_FULLSCREEN before mapping the window, the WM will show it
as fullscreen at mapped. EWMH doesn't say anything that this should
work, although one could argue that it's implied.

In any case, since it's not standard behavior without at least some
doubt, it's probably a good idea to try the "old" method as well.
Fortunately, it should be idempotent.

See #1937, #1920.
@ghost
Copy link

ghost commented May 15, 2015

Added a workaround, I hope it works now.

@ghost ghost closed this as completed May 15, 2015
@ghost
Copy link
Author

ghost commented May 15, 2015

Thank you I will try.

Edit: I tried and it works. Thanks

ghost pushed a commit that referenced this issue May 19, 2015
It appears some WMs have a problem with out method of setting initial
fullscreen mode. We assume that if the window's _NET_WM_STATE includes
_NET_WM_STATE_FULLSCREEN before mapping the window, the WM will show it
as fullscreen at mapped. EWMH doesn't say anything that this should
work, although one could argue that it's implied.

In any case, since it's not standard behavior without at least some
doubt, it's probably a good idea to try the "old" method as well.
Fortunately, it should be idempotent.

See #1937, #1920.

(cherry picked from commit a4f3df5)
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants