[MPlayer-dev-eng] [PATCH] double click to switch to full screen in GUI
dalias at aerifal.cx
Thu Sep 14 05:40:28 CEST 2006
On Thu, Sep 14, 2006 at 01:03:00AM +0200, Diego Biurrun wrote:
> 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..
You can't wait to fire the singleclick. On doubleclick, both a
singleclick event and a doubleclick event must occur. This is the same
on windows too.
More information about the MPlayer-dev-eng