[MPlayer-dev-eng] [PATCH] Warp cursor to 0,0 on fullscreen

D Richard Felker III dalias at aerifal.cx
Fri Jul 26 05:22:35 CEST 2002


On Thu, Jul 25, 2002 at 11:24:09PM +0200, Wander Winkelhorst wrote:
> Hi,
> 
> > > old_width=vo_dwidth;   vo_old_height=vo_dheight; }.
> > >  .
> > > + XWarpPointer( mDisplay, None, DefaultRootWindow(mDisplay), 0, 0, 0, 0, 0
> > > , 0 );.
> > >   vo_x11_decoration( mDisplay,vo_window,(vo_fs) ? 0 : 1 );.
> > >   vo_x11_sizehint( x,y,w,h,0 );.
> >
> > it seems it ALWAYS wraps the cursors, not only at fullscreen...
> > please implement tehnegative of this wrapping, for the vase when vo_fs==0
> >
> 
> The included patch queries the current cursor position on going fullscreen,
> and warps the cursor back to that position when leaving fullscreen.
> Is this satisfactionary?
> 
> And Rich, what do you think?

Could be even more annoying if you move the mouse while it's
fullscreen. A simple option to disable the warping entirely would be
the nicest IMO. Of course I don't use X anymore anyway so I don't
really care all that much what you do. :)

Rich




More information about the MPlayer-dev-eng mailing list