x11: fixed incorrect SDL_GetWindowPosition() after resize (thanks, Jason!).

Fixes Bugzilla #3272.
2 files changed