Commit 543a1419 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

dvdnav: switch to the activated color sooner

Switch to active button color before making the actual activation. This gives us a small chance to actually SEE the button be activated before the menu continues.
parent f9b25cf4
......@@ -1272,8 +1272,8 @@ static void* EventThread( vlc_object_t *p_this )
break;
case ACTIONID_NAV_ACTIVATE:
b_activated = true;
dvdnav_button_activate( p_sys->dvdnav, pci );
ButtonUpdate( p_ev->p_demux, true );
dvdnav_button_activate( p_sys->dvdnav, pci );
break;
default:
break;
......@@ -1300,9 +1300,9 @@ static void* EventThread( vlc_object_t *p_this )
if( p_ev->b_clicked )
{
b_activated = true;
ButtonUpdate( p_ev->p_demux, true );
dvdnav_mouse_activate( p_sys->dvdnav, pci, valx.i_int,
valy.i_int );
ButtonUpdate( p_ev->p_demux, true );
}
p_ev->b_moved = false;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment