Commit b5fed2f0 authored by Ove Kaaven's avatar Ove Kaaven Committed by Alexandre Julliard

Fixed XShm completion event leak.

parent 78044a2d
......@@ -1845,7 +1845,6 @@ static void EVENT_ShmCompletion( XShmCompletionEvent *event )
if (event->drawable == shm_draw) {
HANDLE event = shm_event;
shm_draw = 0;
shm_event = 0;
SetEvent(event);
TRACE_(event)("Event object triggered\n" );
} else ERR_(event)("Got ShmCompletion for unknown drawable %ld\n", event->drawable );
......@@ -1890,6 +1889,6 @@ void X11DRV_EVENT_WaitShmCompletion( int compl )
TRACE_(event)("Wait complete (time %ld)\n", GetTickCount() );
}
#endif
#endif /* defined(HAVE_LIBXXSHM) */
#endif /* !defined(X_DISPLAY_MISSING) */
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