[MPlayer-dev-eng] [PATCH] GUI cursor control
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Mon Sep 5 16:55:19 CEST 2011
On Mon, Sep 05, 2011 at 12:05:28PM +0200, Ingo Brückl wrote:
> Alexander Strasser wrote on Sun, 4 Sep 2011 20:21:08 +0200:
> > Wouldn't it be better to have the X11 VOs not interfere with cursor
> > management if an external WinID is used? In that case you would would be in
> > control of it remaining invisible and responsible for making it visible.
>
> You mean something like the attached patch and having a mouse_autohide code
> in GUI's wm/ws.c? Yes, this would really give full cursor control to the
> application owning the WinID and I'm perfectly fine with this (solution #2),
Yes, I think this is a good way, though before you reimplement the
autohide or similar functionality in the GUI it might make sense to move the check
a bit so it's still possible to reuse the code if it makes sense.
> but I'm wondering whether this may affect other GUIs using MPlayer as backend
> and depending on the current behavior.
Well, it's a X11-only feature and thus hopefully most GUIs will be more
cross-platform than to rely on it.
More information about the MPlayer-dev-eng
mailing list