x11: make window-scale use windowed size in fullscreen mode

This is a bit more intuitive, since before, the window size was just set
to something random when setting the window-scale property during
fullscreen.
w32: implement functionality required for window-scale

Same semantics with respect to fullscreen as x11.