I suppose this warning actually doesn't make that much sense.

svn path=/trunk/KDE/kdebase/workspace/; revision=762187
remotes/origin/Plasma/5.0
Luboš Luňák 18 years ago
parent 110f76ecd8
commit ea8a3ed648
  1. 4
      client.cpp

@ -1249,11 +1249,13 @@ void Client::takeActivity( int flags, bool handled, allowed_t )
#ifndef NDEBUG
static Time previous_activity_timestamp;
static Client* previous_client;
#if 0
if( previous_activity_timestamp == xTime() && previous_client != this )
{
kDebug( 1212 ) << "Repeated use of the same X timestamp for activity";
kDebug( 1212 ) << kBacktrace();
}
#endif
previous_activity_timestamp = xTime();
previous_client = this;
#endif
@ -1266,11 +1268,13 @@ void Client::takeFocus( allowed_t )
#ifndef NDEBUG
static Time previous_focus_timestamp;
static Client* previous_client;
#if 0
if( previous_focus_timestamp == xTime() && previous_client != this )
{
kDebug( 1212 ) << "Repeated use of the same X timestamp for focus";
kDebug( 1212 ) << kBacktrace();
}
#endif
previous_focus_timestamp = xTime();
previous_client = this;
#endif

Loading…
Cancel
Save