vlc | branch: master | KO Myung-Hun <[email protected]> | Fri May 17 16:29:43 2013 +0900| [d9319dc87612f1cef53e09c3d5a14efd8a481e51] | committer: Rafaël Carré
kva: remove obsolete workaround Signed-off-by: Rafaël Carré <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d9319dc87612f1cef53e09c3d5a14efd8a481e51 --- modules/video_output/kva.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/modules/video_output/kva.c b/modules/video_output/kva.c index 6a44cb3..eaca5e3 100644 --- a/modules/video_output/kva.c +++ b/modules/video_output/kva.c @@ -194,13 +194,6 @@ static void PMThread( void *arg ) { sys->parent = ( HWND )sys->parent_window->handle.hwnd; - /* Workaround : - * When an embedded window opened first, it is not positioned - * correctly. So reposition it here, again. - */ - WinSetWindowPos( WinQueryWindow( sys->parent, QW_PARENT ), - HWND_TOP, 0, 0, 0, 0, SWP_MOVE ); - ULONG i_style = WinQueryWindowULong( sys->parent, QWL_STYLE ); WinSetWindowULong( sys->parent, QWL_STYLE, i_style | WS_CLIPCHILDREN ); @@ -496,15 +489,6 @@ static int Control( vout_display_t *vd, int query, va_list args ) { vout_window_SetSize(sys->parent_window, cfg->display.width, cfg->display.height); - - /* Workaround : - * If changing aspect ratio after resizing a main window, - * an embedded window is misplaced. So reposition it, here. - */ - WinSetWindowPos( WinQueryWindow( sys->parent, QW_PARENT ), - HWND_TOP, 0, 1, 0, 0, SWP_MOVE ); - WinSetWindowPos( WinQueryWindow( sys->parent, QW_PARENT ), - HWND_TOP, 0, 0, 0, 0, SWP_MOVE ); } else WinPostMsg( sys->client, WM_VLC_SIZE_CHANGE, _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
