OS2 changes
authorlarryh%netscape.com
Thu, 18 Mar 1999 22:39:53 +0000
changeset 499 bb614fdbf1c9adc96b017a0fa3bc29f40433494a
parent 495 ea776f3d0d2549007ebc65f546eeeba6340e2134 (current diff)
parent 496 44521a18e26e8b8385d0b7acfd6f10b3a72e911c (diff)
child 500 b67594188e8e50780af37500e3d5050d6ed85d08
push idunknown
push userunknown
push dateunknown
OS2 changes
lib/ds/plevent.c
--- a/lib/ds/plevent.c
+++ b/lib/ds/plevent.c
@@ -644,25 +644,21 @@ static PRStatus
     return PR_SUCCESS;
 }/* --- end _pl_NativeNotify() --- */
 #endif
 
 #if defined(XP_OS2)
 static PRStatus
 _pl_NativeNotify(PLEventQueue* self)
 {
-    BOOL rc = FALSE;
-
-    if (self == _pr_MainEventQueue) {
-       rc = WinPostMsg( self->eventReceiverWindow, _pr_PostEventMsgId,
+    BOOL rc = WinPostMsg( self->eventReceiverWindow, _pr_PostEventMsgId,
                        0, MPFROMP(self));
-    }
     return (rc == TRUE) ? PR_SUCCESS : PR_FAILURE;
 }/* --- end _pl_NativeNotify() --- */
-#endif /* Winxx */
+#endif /* XP_OS2 */
 
 #if defined(XP_UNIX)
 static PRStatus
 _pl_NativeNotify(PLEventQueue* self)
 {
 #define NOTIFY_TOKEN    0xFA
     PRInt32 count;
     unsigned char buf[] = { NOTIFY_TOKEN };