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

Diego Biurrun diego at biurrun.de
Thu Sep 14 01:03:00 CEST 2006


On Tue, Sep 12, 2006 at 07:55:05PM +0200, laurent wozniak wrote:
> Diego Biurrun wrote:
> >But this is not entirely the desired behavior.  If I doubleclick I want
> >just the doubleclick action, not first the singleclick action and then
> >the doubleclick action...
> 
> I understand what you mean but detecting just the double click is not 
> possible.
> As I said, when the user click, you can't know whether in the future he 
> will click again or not.

This may be very very naive, but why not wait for a certain time after
the first click and then fire a singleclick action if no second click
comes or a doubleclick if it does appear within the time window..

Diego



More information about the MPlayer-dev-eng mailing list