[PATCH 1/2] server: Don't create new handle when DUP_HANDLE_CLOSE_SOURCE is used if possible (try2)
Alexandre Julliard
julliard at winehq.org
Tue Jun 4 14:56:54 CDT 2013
Piotr Caban <piotr at codeweavers.com> writes:
> @@ -890,6 +890,7 @@ struct rawinput_device
> obj_handle_t handle; /* duplicated handle in dst process */
> int self; /* is the source the current process? */
> int closed; /* whether the source handle has been closed */
> + int reused; /* whether the source handle has been reused */
I don't think you need an extra flag, there's nothing the client has to
do differently in that case (the warning is mostly cosmetic anyway).
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list