vo: improve fixed-vo behavior when video size changes in x11 VOs
commit7a669a64073839a0d014f20a691014e332faaf69
authorUoti Urpala <uau@glyph.nonexistent.invalid>
Fri, 23 Jul 2010 00:30:44 +0000 (23 03:30 +0300)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Fri, 23 Jul 2010 00:38:40 +0000 (23 03:38 +0300)
tree902d9faa1381aaeb992ace2a75b8d4626328212a
parent8362ad36ac2ee8dc452765a9de559b50927d14be
vo: improve fixed-vo behavior when video size changes in x11 VOs

Now the window is only resized when video size (or size specified by
-geometry) changes; reconfiguring the window with the same size no
longer changes back to default size from possibly user-modified one.

Also fix a bug in fullscreen handling that could cause incorrect
window size when turning fullscreen off.
libvo/x11_common.c
libvo/x11_common.h