[vlc-devel] commit: Migrate AA and GGI to intf-popupmenu ( Rémi Denis-Courmont )

git version control git at videolan.org
Tue Dec 16 22:01:48 CET 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Tue Dec 16 23:01:04 2008 +0200| [1032a11c0a08c1c6f9604e82c0281aa41a1c5992] | committer: Rémi Denis-Courmont 

Migrate AA and GGI to intf-popupmenu

This is untested. Most probably nobody uses these anymore.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1032a11c0a08c1c6f9604e82c0281aa41a1c5992
---

 modules/video_output/aa.c  |    4 ++--
 modules/video_output/ggi.c |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/video_output/aa.c b/modules/video_output/aa.c
index d173514..48d912b 100644
--- a/modules/video_output/aa.c
+++ b/modules/video_output/aa.c
@@ -200,8 +200,8 @@ static int Manage( vout_thread_t *p_vout )
     {
     case AA_MOUSE:
         aa_getmouse( p_vout->p_sys->aa_context, &x, &y, &b );
-        /*if ( b & AA_BUTTON3 )
-             trigger contextual menu here */
+        if ( b & AA_BUTTON3 )
+            var_SetBool( p_vout->p_libvlc, "intf-popupmenu", true );
         break;
     case AA_RESIZE:
         p_vout->i_changes |= VOUT_SIZE_CHANGE;
diff --git a/modules/video_output/ggi.c b/modules/video_output/ggi.c
index da70775..8735396 100644
--- a/modules/video_output/ggi.c
+++ b/modules/video_output/ggi.c
@@ -311,7 +311,7 @@ static int Manage( vout_thread_t *p_vout )
                         break;
 
                     case GII_PBUTTON_RIGHT:
-                        /* trigger contextual menu here */
+                        var_SetBool( p_vout->p_libvlc, "intf-popupmenu", true );
                         break;
                 }
                 break;




More information about the vlc-devel mailing list