Commit e0477ce9 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

winsock: Clear the held mask with the requested events so that they can be signaled.

parent ea2f6016
......@@ -814,6 +814,7 @@ DECL_HANDLER(set_socket_event)
FILE_WRITE_ATTRIBUTES, &sock_ops))) return;
old_event = sock->event;
sock->mask = req->mask;
sock->hmask &= ~req->mask; /* re-enable held events */
sock->event = NULL;
sock->window = req->window;
sock->message = req->msg;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment