mirror of
https://github.com/mpv-player/mpv
synced 2025-01-17 12:31:25 +00:00
Hack around some fullscreen issues with gl under Windows
(non-fullscreen window would not always return to original size). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23607 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
a969d1681b
commit
265c1a174e
@ -277,6 +277,9 @@ static int createRenderingContext(void) {
|
||||
vo_dx = xinerama_x;
|
||||
vo_dy = xinerama_y;
|
||||
} else {
|
||||
// make sure there are no "stale" resize events
|
||||
// that would set vo_d* to wrong values
|
||||
vo_w32_check_events();
|
||||
vo_dwidth = prev_width;
|
||||
vo_dheight = prev_height;
|
||||
vo_dx = prev_x;
|
||||
|
Loading…
Reference in New Issue
Block a user