[PATCH 1/2] winex11.drv: Use ClipCursor to grab/ungrab the pointer.

Alexandre Julliard julliard at winehq.org
Mon Oct 1 07:08:18 CDT 2007


Vitaliy Margolen <wine-patches at kievinfo.com> writes:

> +/***********************************************************************
> + *		do_grab_pointer
> + *
> + * Helper to call grab_pointer from any thread.
> + *
> + * x11_lock have to be held when calling this function. It will be
> + * released upon return.

Don't do that, lock/unlock should be done at the same level, it makes
it really hard to verify otherwise.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list