[vlc-commits] Revert "Emit a fullscreen toggle action on double click"

Rémi Denis-Courmont git at videolan.org
Sun Feb 10 11:25:21 CET 2013


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Feb 10 12:22:52 2013 +0200| [7b8083d228cf76798e33a161772bb53e02928c39] | committer: Rémi Denis-Courmont

Revert "Emit a fullscreen toggle action on double click"

This reverts commit 96824f0c8d6134b62fbcf9876a5411258486d390.
This hack is not needed anymore.

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

 src/video_output/event.h |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/video_output/event.h b/src/video_output/event.h
index df4ebb9..6e8e492 100644
--- a/src/video_output/event.h
+++ b/src/video_output/event.h
@@ -87,8 +87,7 @@ static inline void vout_SendEventMouseReleased(vout_thread_t *vout, int button)
 static inline void vout_SendEventMouseDoubleClick(vout_thread_t *vout)
 {
     //vout_ControlSetFullscreen(vout, !var_GetBool(vout, "fullscreen"));
-    //var_ToggleBool(vout, "fullscreen");
-    var_SetInteger(vout->p_libvlc, "key-action", ACTIONID_TOGGLE_FULLSCREEN);
+    var_ToggleBool(vout, "fullscreen");
 }
 static inline void vout_SendEventMouseVisible(vout_thread_t *vout)
 {



More information about the vlc-commits mailing list