Comment 0 for bug 769781

Revision history for this message
Cameron Hart (bitshifternz) wrote :

Unity automatically maximizes application windows that take up more that 75% of the screen when they are launched. It doesn't check the maximum size of the window when doing this. This means the window is undecorated but remains at its original size.

This is a problem for applications that don't support resizing like SDL windows if the SDL_RESIZABLE flag is not set.

Attached is a sample SDL program which demonstrates the problem.

I also found a memory leak in PluginAdapter::MaximizeIfBigEnough() when tracking this issue. win_wmclass is not freed if the method exits early.