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

Fix fullscreen on OS X #21

Merged
merged 1 commit into from
Jun 16, 2015
Merged

Fix fullscreen on OS X #21

merged 1 commit into from
Jun 16, 2015

Conversation

guregu
Copy link
Contributor

@guregu guregu commented Jun 14, 2015

I know the dev branch is totally different but but here's a PR:
Going fullscreen didn't hide the dock/menu bar on OS X Mavericks. This seems to help.
I haven't been able to check other OSes.

@dmitshur
Copy link

LGTM.

There's code above that gets monitor and sets it to nil if fullscreen is false. It seems like monitor was meant to be passed to glfw.CreateWindow the way your PR does, and it was simply an unintentional omission.

@ajhager
Copy link
Owner

ajhager commented Jun 16, 2015

The original intent was to do borderless windowed fullscreen, but I am happy with this change. Thanks!

ajhager pushed a commit that referenced this pull request Jun 16, 2015
Fix fullscreen on OS X
@ajhager ajhager merged commit cbdfdd2 into ajhager:master Jun 16, 2015
@dmitshur
Copy link

The original intent was to do borderless windowed fullscreen

I think the way to achieve that is to set the monitor and request the current video mode, the way this PR does. See http://www.glfw.org/docs/latest/window.html#window_windowed_full_screen.

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

Successfully merging this pull request may close these issues.

3 participants