![]() |
[OSX] SDL_WINDOW_FULLSCREEN grabbing bug | ![]() |
![]() |
[OSX] SDL_WINDOW_FULLSCREEN grabbing bug | ![]() |
Alex Szpakowski
Guest
![]() |
![]() |
That’s just how exclusive / display-mode-switching fullscreen mode works in OS X - it’s one reason why you should prefer FULLSCREEN_DESKTOP. :)
On Feb 6, 2014, at 6:09 AM, dimman wrote:
|
||||||||||||
|
![]() |
![]() |
dimman
![]() |
![]() |
Hmm okey? So working as intended? Really weird, it should really be documented somewhere imo.
Another related bug: It's possible to cmd-tab now with SDL_WINDOW_FULLSCREEN_DESKTOP but when clicking on the icon in the dock, it appears behind the dock and menu. Wrong z-order in other words. Here's a video showing the problem: http://fzwoch.project-sheol.org/ezquake_sdl2.mp4 Second question: When exiting the application, it looks like the window is exited, then some new window is spawned just to be brought down again? Anyone recognize that behaviour? |
||||||||||
|
![]() |
[OSX] SDL_WINDOW_FULLSCREEN grabbing bug | ![]() |
Jeffrey Carpenter
Guest
![]() |
![]() |
I notice similar behavior as described by dimman on my system. In short (from my filed bug report): "When using the flag SDL_WINDOW_FULLSCREEN_DESKTOP in a window -- either at creation or during a key input event -- if I click off on an application that is on another display monitor, my previously focused SDL window minimizes itself (without reporting any errors). I then have to find it on the dock and tell it to reshow itself."
Is this intended behavior? My filed bug report: https://bugzilla.libsdl.org/show_bug.cgi?id=2338 Cheers! On 2014/02/ 10, at 4:21, dimman wrote:
_______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
||||||||||||
|
![]() |
[OSX] SDL_WINDOW_FULLSCREEN grabbing bug | ![]() |
Alex Szpakowski
Guest
![]() |
![]() |
Yeah, you can call SDL_SetHint(SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS, “0”); to disable that behaviour.
IMO it shouldn’t minimize if the focus switches to something which is on another display, but I’m not sure whether that would be a feature change or a bug fix. :) Re: the weirdness when exiting the application, that should be fixed in SDL 2.0.2. On Feb 10, 2014, at 12:39 PM, Jeffrey Carpenter wrote:
_______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
||||||||||||||
|
![]() |
[OSX] SDL_WINDOW_FULLSCREEN grabbing bug | ![]() |
Jeffrey Carpenter
Guest
![]() |
![]() |
Sweet jesus! Thank you x1000000
![]() In any case, I'll be closing the bug report I filed. I would love to see this put in the official wiki documentation. Cheers! Thanks, Jeff On 2014/02/ 10, at 11:55, Alex Szpakowski wrote:
_______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
||||||||||||||||
|