An application suspends when the application is minimized on Linux
When an application is minimized, RestoreWindow doesn't work.
Is really the application working when the application is minimized?
OK it looks like the application stops when the application is minimized (i.e. iconified).
Could this be related to the issue I raised?
This is an issue in X, and I don't think this is related to #1844
The steps to reproduce this issue
-
go run -tags=example ./examples/windowsize -autorestore - Minimize the window
Expected: the window is restored automatically Actual: the window is never restored
Apparently, the game's Update works, but RestoreWindow never returns 🤔
for u.window.GetAttrib(glfw.Maximized) == glfw.True || u.window.GetAttrib(glfw.Iconified) == glfw.True {
glfw.PollEvents()
}
After u.window.Restore(), this loop never ends 🤔
This is an external issue: glfw/glfw#2077