diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-26 17:07:20 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-26 17:07:20 -0600 |
commit | 057932620ba8355a6506b9d437518e253ba14ed9 (patch) | |
tree | 8793041d09f5d8d0ff120190615d50dd857b3371 /kdesktop/lock/main.cc | |
parent | 54e88491499f64226445cc1fb974ada7b88ab2f0 (diff) | |
download | tdebase-057932620ba8355a6506b9d437518e253ba14ed9.tar.gz tdebase-057932620ba8355a6506b9d437518e253ba14ed9.zip |
Clean up lock screen internals
This cleanup is part of an effort to resolve Bug 810, but a new Qt3 version is required to fully resolve it
Diffstat (limited to 'kdesktop/lock/main.cc')
-rw-r--r-- | kdesktop/lock/main.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kdesktop/lock/main.cc b/kdesktop/lock/main.cc index c0b8e2480..0cbef6095 100644 --- a/kdesktop/lock/main.cc +++ b/kdesktop/lock/main.cc @@ -45,8 +45,9 @@ bool trinity_desktop_lock_forced = FALSE; bool MyApp::x11EventFilter( XEvent *ev ) { - if (ev->type == XKeyPress || ev->type == ButtonPress) + if (ev->type == XKeyPress || ev->type == ButtonPress) { emit activity(); + } else if (ev->type == MotionNotify) { time_t tick = time( 0 ); if (tick != lastTick) { |