[MPlayer-dev-eng] [PATCH] double click to switch to full screen in GUI
laurent wozniak
laurent.wozniak at laposte.net
Thu Aug 24 08:29:16 CEST 2006
Argh, that won't be that easy:
- 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.
And what about input mecanism vs GUI event handlers ?
Now that I know the mplayer input mecanism, I recognize my patch was a
quick and dirty hack.
But it was not over complex compared to what should be done.
And doing it the correct way will take some time.
Cheers,
Laurent
More information about the MPlayer-dev-eng
mailing list