]> git.sesse.net Git - vlc/commitdiff
msw: ensure the old vout output works as the new vout_display
authorErwan Tulou <erwan10@videolan.org>
Mon, 28 Dec 2009 21:03:33 +0000 (22:03 +0100)
committerErwan Tulou <erwan10@videolan.org>
Mon, 28 Dec 2009 21:19:24 +0000 (22:19 +0100)
This patch ensures we get the same behavior on Vista/Win7
 (new vout_display) as we get on WinXP (old vout output with directx)

modules/video_output/msw/events_vo.c

index dfe73c601638cbcdf203b6ca40fe4435770faaee..49597ab0acd610b0cce36eec4ed00ed70445d7c0 100644 (file)
@@ -284,6 +284,7 @@ static void *EventThread( void *p_this )
             val.i_int |= 2;
             var_Set( p_event->p_vout, "mouse-button-down", val );
             DirectXPopupMenu( p_event, false );
+            var_ToggleBool( p_event->p_vout->p_libvlc, "intf-show" );
             break;
 
         case WM_MBUTTONUP: