winsock: Clear the held mask with the requested events so that they can be signaled.
This commit is contained in:
parent
ea2f60160c
commit
e0477ce92a
@ -814,6 +814,7 @@ DECL_HANDLER(set_socket_event)
|
|||||||
FILE_WRITE_ATTRIBUTES, &sock_ops))) return;
|
FILE_WRITE_ATTRIBUTES, &sock_ops))) return;
|
||||||
old_event = sock->event;
|
old_event = sock->event;
|
||||||
sock->mask = req->mask;
|
sock->mask = req->mask;
|
||||||
|
sock->hmask &= ~req->mask; /* re-enable held events */
|
||||||
sock->event = NULL;
|
sock->event = NULL;
|
||||||
sock->window = req->window;
|
sock->window = req->window;
|
||||||
sock->message = req->msg;
|
sock->message = req->msg;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user