]> git.sesse.net Git - vlc/blobdiff - modules/video_output/sdl.c
b_menu_change: remove write-only variable
[vlc] / modules / video_output / sdl.c
index 17efea735d8245989381a556b3ebb6e84de73187..08fb157c8643f85c694ac8f4183f2a7c0f3e7388 100644 (file)
@@ -459,18 +459,9 @@ static int Manage( vout_thread_t *p_vout )
 
             case SDL_BUTTON_RIGHT:
                 {
-                    intf_thread_t *p_intf;
-
                     var_Get( p_vout, "mouse-button-down", &val );
                     val.i_int &= ~4;
                     var_Set( p_vout, "mouse-button-down", val );
-                    p_intf = vlc_object_find( p_vout, VLC_OBJECT_INTF,
-                                                      FIND_ANYWHERE );
-                    if( p_intf )
-                    {
-                        p_intf->b_menu_change = 1;
-                        vlc_object_release( p_intf );
-                    }
 
                     val.b_bool = true;
                     var_Set( p_vout->p_libvlc, "intf-popupmenu", val );