mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
Remove obsolete macOS window min size workaround.
Fixes #1444. The reason for the SetWindowMinSize call after exiting fullscreen doesn't seem to be needed anymore, and it was breaking setFullscreen(false) in Linux.
This commit is contained in:
@@ -723,11 +723,6 @@ bool Window::setFullscreen(bool fullscreen, Window::FullscreenType fstype)
|
||||
{
|
||||
SDL_GL_MakeCurrent(window, context);
|
||||
updateSettings(newsettings, true);
|
||||
|
||||
// Apparently this gets un-set when we exit fullscreen (at least in OS X).
|
||||
if (!fullscreen)
|
||||
SDL_SetWindowMinimumSize(window, settings.minwidth, settings.minheight);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user