Mercurial > mplayer.hg
changeset 17870:d5971cc55b39
10l the cpu hog fix broke fullscreenswitching with -wid
author | faust3 |
---|---|
date | Wed, 15 Mar 2006 09:04:24 +0000 |
parents | 9e1b5526b0da |
children | 29cce29b0cd9 |
files | libvo/vo_directx.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_directx.c Tue Mar 14 23:33:37 2006 +0000 +++ b/libvo/vo_directx.c Wed Mar 15 09:04:24 2006 +0000 @@ -1519,6 +1519,7 @@ ShowWindow(hWnd,SW_HIDE); ShowWindow(hWnd,SW_SHOW); } + last_rect.left = 0xDEADC0DE; // reset window position cache Directx_ManageDisplay(); } return VO_TRUE; @@ -1532,6 +1533,7 @@ { if(vo_ontop) vo_ontop = 0; else vo_ontop = 1; + last_rect.left = 0xDEADC0DE; // reset window position cache Directx_ManageDisplay(); } return VO_TRUE; @@ -1545,6 +1547,7 @@ { if(vo_rootwin) vo_rootwin = 0; else vo_rootwin = 1; + last_rect.left = 0xDEADC0DE; // reset window position cache Directx_ManageDisplay(); } return VO_TRUE; @@ -1569,6 +1572,7 @@ ShowWindow(hWndFS,SW_HIDE); ShowWindow(hWnd,SW_SHOW); } + last_rect.left = 0xDEADC0DE; // reset window position cache Directx_ManageDisplay(); break; }