X-Git-Url: https://git.videolan.org/gitweb.cgi/vlc.git/?p=vlc.git;p=vlc.git;a=blobdiff_plain;f=modules%2Fcontrol%2Fgestures.c;h=149206f25b5a8c17b1033d02714863ca3014e502;hp=bf3782fe0bed9d205801591057dc4196defdae33;hb=6c1d00ed78efe4029b67d179bb6871c924f98129;hpb=44ae8d781675f5047e2e6bc9b53f6bd0e453be84;ds=sidebyside diff --git a/modules/control/gestures.c b/modules/control/gestures.c index bf3782fe0b..149206f25b 100644 --- a/modules/control/gestures.c +++ b/modules/control/gestures.c @@ -2,7 +2,7 @@ * geatures.c: control vlc with mouse gestures ***************************************************************************** * Copyright (C) 2002 VideoLAN - * $Id: gestures.c,v 1.2 2003/02/20 01:52:46 sigmunau Exp $ + * $Id: gestures.c,v 1.3 2003/03/08 01:55:28 sigmunau Exp $ * * Authors: Sigmund Augdal * @@ -185,14 +185,17 @@ static void RunIntf( intf_thread_t *p_intf ) playlist_Next( p_playlist ); vlc_object_release( p_playlist ); break; - - case DOWN: - if (p_intf->p_sys->p_vout - && ((vout_thread_t *)p_intf->p_sys->p_vout)->b_fullscreen ) + case GESTURE(UP,RIGHT,NONE,NONE): + if (p_intf->p_sys->p_vout ) { - ((vout_thread_t *)p_intf->p_sys->p_vout)->i_changes |= VOUT_FULLSCREEN_CHANGE; + ((vout_thread_t *)p_intf->p_sys->p_vout)->i_changes |= + VOUT_FULLSCREEN_CHANGE; } break; + case GESTURE(DOWN,RIGHT,NONE,NONE): + p_intf->p_vlc->b_die = VLC_TRUE; + msg_Dbg(p_intf, "Should close the vout!" ); + break; case GESTURE(DOWN,LEFT,UP,RIGHT): msg_Dbg(p_intf, "A square!" ); break;