x11: Use XSync when changing window position instead of XFlush.

Attempt to fix regression in Bugzilla #4646.
1 file changed