We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 3180 - libsdl2: windows set to fullscreen with SDL_WINDOW_FULLSCREEN_DESKTOP are not visible in xmonad
Summary: libsdl2: windows set to fullscreen with SDL_WINDOW_FULLSCREEN_DESKTOP are not...
Status: ASSIGNED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: 2.0.3
Hardware: x86_64 Linux
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-14 06:59 UTC by Lucian Poston
Modified: 2017-08-12 22:49 UTC (History)
1 user (show)

See Also:


Attachments
c++ program demonstrating issue (901 bytes, text/plain)
2015-11-14 06:59 UTC, Lucian Poston
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lucian Poston 2015-11-14 06:59:04 UTC
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.
Comment 1 Lucian Poston 2015-11-14 09:49:42 UTC
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.