diff --git a/internal/ui/ui_glfw.go b/internal/ui/ui_glfw.go index c1950b2d6..1fe153ebf 100644 --- a/internal/ui/ui_glfw.go +++ b/internal/ui/ui_glfw.go @@ -759,6 +759,9 @@ func (u *userInterfaceImpl) registerWindowFramebufferSizeCallback() { if u.isFullscreen() { return } + if u.window.GetAttrib(glfw.Iconified) == glfw.True { + return + } // The framebuffer size is always scaled by the device scale factor (#1975). // See also the implementation in uiContext.updateOffscreen.