diff --git a/client.cpp b/client.cpp index 63202d403f..c1d572be6c 100644 --- a/client.cpp +++ b/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