Question about title bar color on OSX

Hi guys,

The window title bar color on OSX is apparently slightly different from other applications. Do you guys know if there’s a way to make it the same? You can see the screenshot here:

It looks like the title bar color is now affected by the background color. To fix it, just comment out this line in SDL_cocoawindow.m:
[nswindow setBackgroundColor:[NSColor blackColor]];

For fun, you can set it to a different color (redColor or purpleColor)

1 Like

I see. Thanks for the information! I guess we can use SDL_GetWindowWMInfo for modifying it on runtime?


We’ll look into whether it makes sense to change the background color to the default after 2.0.7 release.

1 Like