Title bar on Mac is sometimes dark gray

Issue #1253 resolved
created an issue

When I first start up my game, the window's title bar is light gray, as expected:


However, if I change focus to a different window and then back to the game, the title bar becomes dark gray, which looks out of place in macOS:


(Running love 0.10.2 on macOS 10.12.2 Sierra)

Comments (4)

  1. Alex Szpakowski

    SDL prevents a white flash from occuring before the OpenGL context is fully initialized for a window, by setting the window's background color to black. macOS 10.12 changed the behaviour of window background colors in all apps - the window titlebar is now affected by / blended with the background color. I haven't found a suitable workaround to apply in SDL's code yet.

  2. Log in to comment