[MPlayer-dev-eng] [PATCH] GUI cursor control
Alexander Strasser
eclipse7 at gmx.net
Mon Sep 5 21:32:39 CEST 2011
Hi
Reimar Döffinger wrote:
> 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.
I agree to everything quoted so far.
> > 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.
I think many of the external GUI developers are listening on this list.
Also this change of behaviour should be mentioned in the Changelog file
and in the next release notes/news.
Alexander
More information about the MPlayer-dev-eng
mailing list