Description
Version info: SDL2 2.30.6, from Arch linux package sdl2-2.30.6-1.
Summary: Toggling the ffplay 'maximize' function (e.g., by typing 'f' twice) does not restore the window to its original position; the restored position is offset by (dx, dy), where dx and dy are the width and height of the window decorations.
I reported this on the ffmpeg tracker
https://trac.ffmpeg.org/ticket/11051
A dev there suggested it was probably not their issue, and to check it against an older version of SDL2. I tried 2.0.10, and found that the observed behavior did not occur, so refiling the report here. See above ffmpeg ticket for how to reproduce.
Can bisect further between 2.0.10 and 2.30.6 if it's of use to you.
Did not see any existing open issue that looked identical, although there are a few resize-related issues that are perhaps related.