| Summary: | libsdl2: windows set to fullscreen with SDL_WINDOW_FULLSCREEN_DESKTOP are not visible in xmonad | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Lucian Poston <lucianposton> |
| Component: | video | Assignee: | Ryan C. Gordon <icculus> |
| Status: | ASSIGNED --- | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | lucianposton |
| Version: | 2.0.3 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Attachments: | c++ program demonstrating issue | ||
For anyone else encountering this issue, a workaround in xmonad is to enable ewmh. See http://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Hooks-EwmhDesktops.html#v:ewmh Enabling ewmh causes libsdl2 to use _NET_WM_STATE_FULLSCREEN code path instead of the legacy mode in SDL_x11window.c. |
Created attachment 2302 [details] c++ program demonstrating issue Fullscreen windows created via SDL_CreateWindow() using the SDL_WINDOW_FULLSCREEN_DESKTOP flag are not visible when run in xmonad window manager. This also occurs to a window is set to fullscreen via SDL_SetWindowFullscreen(window, SDL_WINDOW_FULLSCREEN_DESKTOP). Attached simple program demonstrating issue.