DELETED Resizing the window - tracking “unmaximize”
As far as GLUT is concerned, it doesn’t present “maximize” and “unmaximize” as distinct concepts. To user code, these are presented as just a window resizing operation: they invoke your reshape and display callbacks exactly as they would have if you expanded or shrunken the window’s size.
If your code appears to work with normal resizing but not with maximization, then there’s something wrong in your code.
Then why did you put it in quotation marks? That’s typically what quotation marks mean.