GdkWin32: Configure as needed when fullscreening toplevels
Apply the fixes made by Chun-Wei Fan in [1] also when going fullscreen (and back). Fixes #4631 (closed)
Also set the SWP_FRAMECHANGED flag as written by Raymond Chen in "How do I switch a window between normal and fullscreen?" [2]
An important flag to pass here is SWP_FRAMECHANGED, which tells the window manager to recalculate the window decorations (which we need it to do because we just changed them).
References:
Edited by Luca Bacci