[MPlayer-dev-eng] [PATCH] double click to switch to full screen in GUI
Joey Parrish
joey at nicewarrior.org
Thu Aug 24 17:49:59 CEST 2006
Diego Biurrun wrote:
> On Thu, Aug 24, 2006 at 08:29:16AM +0200, laurent wozniak wrote:
>> - mplayer (no gui) supports mouse double click events only for "direct
>> x" video output driver.
>> - gmplayer (gui) does not handle mouse click events defined in
>> "input.conf", at least for X11 based drivers:
>> There is a veto in "x11_common.c" since events are handled by the GUI.
>> - X11 does not generate any mouse double click events.
>> Some libraries on top of X11 does, such as GTK, but then we should port
>> the GUI events handlers ("mw.c", "sw.c", ...) from native X11 to
pure GTK.
>
> Handling double click in a general way and not just with directx would
> be a desirable feature...
For Windows it's easy because an event is generated for the double click
which is different from the click event. I have no knowledge of X11 or
whether it does something similar.
I'm not opposed to a generic handling of this at the input layer by
tracking click times. If someone can implement this, I'll remove the
double-click code from vo_directx and then the individual clicks can be
seen and measured by input layer.
--Joey
More information about the MPlayer-dev-eng
mailing list