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 does not work #1

Open
mathstuf opened this issue Mar 24, 2014 · 1 comment
Open

Fullscreen does not work #1

mathstuf opened this issue Mar 24, 2014 · 1 comment
Labels

Comments

@mathstuf
Copy link
Owner

Currently the window disappears soon after appearing on Linux.

@mathstuf mathstuf added the bug label Mar 24, 2014
@mathstuf
Copy link
Owner Author

Inspection of the event queue shows this difference:

Dropping a window event: 1
Dropping a window event: 6
Dropping a window event: 5
Dropping a window event: 3
Dropping a window event: 10
Dropping a window event: 11
Dropping a window event: 3
Dropping a window event: 10
Dropping a window event: 6
Dropping a window event: 2
Dropping a window event: 7
Dropping a window event: 11

for fullscreen versus:

Dropping a window event: 1
Dropping a window event: 10

for windowed mode. It looks like SDL first creates and maps a window based on these events, but the "7" event indicates a minimize event coming through which I'm guessing is the reason it disappears. See http://wiki.libsdl.org/SDL_WindowEventID for the event table.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant