Hi,
On Tuesday 18 June 2002 17:28, Frank Mehnert wrote:
> it is possible to tell the kscreensaver to ignore the mouse events as
> wakeup events? There still occur some rare mouse events even if I do
> nothing (Thinkpad T20). Maybe this is a general XFree86 question.
You will have to disable them manually in:
kdebase/kdesktop/lock/lockprocess.cc.
See the attached patch. Might be worth to introduce a configuration option for
this.
Josef
--
Free operating systems. Free software. Free games.
--- lockprocess.cc.old Tue Jun 18 22:15:50 2002
+++ lockprocess.cc Tue Jun 18 22:16:29 2002
@@ -717,7 +717,7 @@
case KeyPress:
return handleKeyPress((XKeyEvent *)event);
- case ButtonPress:
+ /*case ButtonPress:
case MotionNotify:
if (mState == Saving)
{
@@ -732,7 +732,7 @@
kapp->quit();
}
}
- break;
+ break;*/
case VisibilityNotify:
if (event->xvisibility.state != VisibilityUnobscured &&