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

[rcore][desktop_glfw] Set AUTO_ICONIFY flag to false per default #4188

Merged
merged 2 commits into from
Aug 4, 2024

Commits on Jul 27, 2024

  1. GLFW AUTO_ICONIFY flag is now set to false per default.

    Previously AUTO_ICONIFY was only disabled if the user requested a Fullscreen window from the start. After that it was not possible to change this behavior on the user side anymore, even when changing to a Fullscreen window.
    
    The AUTO_ICONIFY causes problems on macOS. On macOS if the window is minimized because of AUTO_ICONIFY than the only way to restore it is to click on the icon in the dock. In other words when AUTO_ICONIFY is enabled alt/cmd-tabbing through windows does not work correctly. On windows it works even when AUTO_ICONIFY is enabled.
    
    Additionally if a raylib window is in Fullscreen mode on another monitor the AUTO_ICONIFY behavior is a problem because the user might want to window to stay on the monitor even if it loses focus. (problem on all OS's)
    
    AUTO_ICONIFY also restores the monitor hardware resolution if a fullscreen window loses focus.
    SoloByte committed Jul 27, 2024
    Configuration menu
    Copy the full SHA
    022b3a2 View commit details
    Browse the repository at this point in the history
  2. Update rcore_desktop_glfw.c

    Extra space removed and comments updated with a space at the beginning
    SoloByte authored Jul 27, 2024
    Configuration menu
    Copy the full SHA
    bd92782 View commit details
    Browse the repository at this point in the history