From ea8a3ed64873733935e6c45e5d4f18a110863854 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Wed, 16 Jan 2008 13:55:06 +0000 Subject: [PATCH] I suppose this warning actually doesn't make that much sense. svn path=/trunk/KDE/kdebase/workspace/; revision=762187 --- client.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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