diff options
author | Olivier Galibert <galibert@pobox.com> | 2017-06-23 10:35:17 +0200 |
---|---|---|
committer | Olivier Galibert <galibert@pobox.com> | 2017-06-25 11:14:45 +0200 |
commit | cd6acdb6bcd932508e86684f669a1b4a184b3d4e (patch) | |
tree | dc17c42f86daf6f712be93c0d8a35d206bcf193f | |
parent | fb61e98cc5b4dca8282c7388a00106f330851171 (diff) |
sdl: Add SDL_WINDOW_BORDERLESS for fullscreen, required by some window managers on linux [O. Galibert]
Breakage was in 8338e0d7a490c8d33f924b55582223e70015c195 (march 2015),
and yes, fullscreen didn't work correctly for me since then. Shows
how much I use it, I guess. FWTW my window manage is the venerable
fvwm2. CourierSud, if you happen to remember why you changed that (in
the middle of a lot of other changes), let me know, and we'll see how
to make it work for everybody.
-rw-r--r-- | src/osd/sdl/window.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/sdl/window.cpp b/src/osd/sdl/window.cpp index ea86d851bdd..ba805e517ec 100644 --- a/src/osd/sdl/window.cpp +++ b/src/osd/sdl/window.cpp @@ -737,7 +737,7 @@ int sdl_window_info::complete_create() // create the SDL window // soft driver also used | SDL_WINDOW_INPUT_GRABBED | SDL_WINDOW_MOUSE_FOCUS m_extra_flags |= (fullscreen() ? - /*SDL_WINDOW_BORDERLESS |*/ SDL_WINDOW_INPUT_FOCUS | SDL_WINDOW_FULLSCREEN : SDL_WINDOW_RESIZABLE); + SDL_WINDOW_BORDERLESS | SDL_WINDOW_INPUT_FOCUS | SDL_WINDOW_FULLSCREEN : SDL_WINDOW_RESIZABLE); #if defined(SDLMAME_WIN32) SDL_SetHint(SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS, "0"); |