Fixed XShm completion event leak.

This commit is contained in:
Ove Kaaven 1999-11-12 00:59:17 +00:00 committed by Alexandre Julliard
parent 78044a2d1e
commit b5fed2f027
1 changed files with 1 additions and 2 deletions

View File

@ -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) */