Index: gnome-screensaver/src/gs-window-x11.c
===================================================================
RCS file: /cvs/gnome/gnome-screensaver/src/gs-window-x11.c,v
retrieving revision 1.77
diff -u -p -r1.77 gs-window-x11.c
--- gnome-screensaver/src/gs-window-x11.c	7 Oct 2006 03:13:40 -0000	1.77
+++ gnome-screensaver/src/gs-window-x11.c	2 Nov 2006 21:53:33 -0000
@@ -1745,9 +1745,11 @@ gs_window_real_motion_notify_event (GtkW
 {
         GSWindow *window;
         gdouble   distance;
-        gdouble   min_distance = 50;
+        gdouble   min_distance;
 
         window = GS_WINDOW (widget);
+
+        min_distance = gdk_screen_get_width (gs_window_get_screen (window)) * 0.05;
 
         /* if the last position was not set then don't detect motion */
         if (window->priv->last_x < 0 || window->priv->last_y < 0) {
