[MPlayer-dev-eng] [PATCH] double click to switch to full screen in GUI

Diego Biurrun diego at biurrun.de
Sun Sep 10 07:00:21 CEST 2006


On Sat, Sep 09, 2006 at 07:48:41PM +0200, laurent wozniak wrote:
> 
> Diego Biurrun wrote:
> >Handling double click in a general way and not just with directx would
> >be a desirable feature...
> >  
> I'm sending a patch that contains a completely reworked double click 
> event handling.
> It is now generic and configurable.

Seems to be working fine, there is still some bogus output, though:


No bind found for key 'MOUSE_BTN0'.                         

No bind found for key ''.                         
No bind found for key 'MOUSE_BTN0'.                         

No bind found for key ''.                         


Hmmmm

> --- Gui/mplayer/sw.c	(revision 19766)
> +++ Gui/mplayer/sw.c	(working copy)
> @@ -42,12 +47,20 @@
>  {
>   static int mplSubMoved = 0;
>   static int msButton = 0;
> -
> + 

cosmetics

>   switch( Button )
>    {
> -   case wsRRMouseButton:
> +   case wsRRMouseButton:  

more cosmetics

> @@ -84,9 +97,24 @@
> -	   }
> +           }

dito

Recreate your patch without cosmetic changes.

Diego



More information about the MPlayer-dev-eng mailing list