mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
kwin: uncomment code for debug type build
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
3598df111b
commit
a6ad508741
1 changed files with 9 additions and 10 deletions
|
@ -1498,11 +1498,10 @@ void Client::takeActivity(int flags, bool handled)
|
|||
static Time previous_activity_timestamp;
|
||||
static Client* previous_client;
|
||||
|
||||
//if ( previous_activity_timestamp == xTime() && previous_client != this )
|
||||
// {
|
||||
// kDebug( 1212 ) << "Repeated use of the same X timestamp for activity";
|
||||
// kDebug( 1212 ) << kBacktrace();
|
||||
// }
|
||||
if ( previous_activity_timestamp == xTime() && previous_client != this ) {
|
||||
kDebug( 1212 ) << "Repeated use of the same X timestamp for activity";
|
||||
kDebug( 1212 ) << kBacktrace();
|
||||
}
|
||||
|
||||
previous_activity_timestamp = xTime();
|
||||
previous_client = this;
|
||||
|
@ -1520,15 +1519,15 @@ void Client::takeFocus()
|
|||
static Time previous_focus_timestamp;
|
||||
static Client* previous_client;
|
||||
|
||||
//if ( previous_focus_timestamp == xTime() && previous_client != this )
|
||||
// {
|
||||
// kDebug( 1212 ) << "Repeated use of the same X timestamp for focus";
|
||||
// kDebug( 1212 ) << kBacktrace();
|
||||
// }
|
||||
if ( previous_focus_timestamp == xTime() && previous_client != this ) {
|
||||
kDebug( 1212 ) << "Repeated use of the same X timestamp for focus";
|
||||
kDebug( 1212 ) << kBacktrace();
|
||||
}
|
||||
|
||||
previous_focus_timestamp = xTime();
|
||||
previous_client = this;
|
||||
#endif
|
||||
|
||||
if (rules()->checkAcceptFocus(input))
|
||||
XSetInputFocus(display(), window(), RevertToPointerRoot, xTime());
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue