Bugzilla bug #23969: checked in patches from dougt@netscape.com and

bienvenu@netscape.com. r=troy@netscape.com,wtc@netscape.com.
a=brendan@mozilla.org.


git-svn-id: svn://10.0.0.236/trunk@58356 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
wtc%netscape.com 2000-01-21 21:53:40 +00:00
parent 48f2c405ec
commit 9adc422a4b

View File

@ -717,6 +717,8 @@ _pl_CleanupNativeNotifier(PLEventQueue* self)
#elif defined(XP_UNIX)
close(self->eventPipe[0]);
close(self->eventPipe[1]);
#elif defined(_WIN32) || defined(WIN16)
DestroyWindow(self->eventReceiverWindow);
#endif
}
@ -809,7 +811,14 @@ _pl_NativeNotify(PLEventQueue* self)
static PRStatus
_pl_AcknowledgeNativeNotify(PLEventQueue* self)
{
#if defined(VMS)
#if defined(_WIN32) || defined(WIN16)
MSG aMsg;
PR_LOG(event_lm, PR_LOG_DEBUG,
("_pl_AcknowledgeNativeNotify: self=%p", self));
PeekMessage(&aMsg, self->eventReceiverWindow,
_pr_PostEventMsgId, _pr_PostEventMsgId, PM_REMOVE);
return PR_SUCCESS;
#elif defined(VMS)
PR_LOG(event_lm, PR_LOG_DEBUG,
("_pl_AcknowledgeNativeNotify: self=%p notifyCount=%d efn=%d",
self, self->notifyCount, self->efn));