[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/work/kdelibs4_snapshot/kdecore
From:       Luboš Luňák <l.lunak () kde ! org>
Date:       2006-04-11 13:33:34
Message-ID: 1144762414.314223.12510.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 528594 by lunakl:

Fix last commit.



 M  +2 -2      kxerrorhandler.cpp  


--- branches/work/kdelibs4_snapshot/kdecore/kxerrorhandler.cpp #528593:528594
@@ -100,8 +100,8 @@
 int KXErrorHandler::handle( Display* dpy, XErrorEvent* e )
     {
     if( dpy == display
-        // e->serial > first_request , compare like X timestamps to handle wrapping
-        && NET::timestampCompare( e->serial, first_request ) > 0 )
+        // e->serial >= first_request , compare like X timestamps to handle wrapping
+        && NET::timestampCompare( e->serial, first_request ) >= 0 )
         { // it's for us
         //qDebug( "Handling: %p", static_cast< void* >( this ));
         if( user_handler1 != NULL && user_handler1( e->request_code, e->error_code, e->resourceid ))
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic