# HG changeset patch
# User Gerd Moellmann <gerd@gnu.org>
# Date 974555039 0
# Node ID 5832e9020859d70b2ad4a5fd444a34bb66ee344f
# Parent  0083bc743c1437ce991161db05cd4e664d91f86e
(Fx_show_tip): Use default y-offset of -10 so that
the tooltip obscures less text under it.

diff -r 0083bc743c14 -r 5832e9020859 src/xfns.c
--- a/src/xfns.c	Sat Nov 18 13:12:18 2000 +0000
+++ b/src/xfns.c	Sat Nov 18 13:43:59 2000 +0000
@@ -10498,7 +10498,7 @@
 DX isn't specified).  Likewise for the y-position; if a `top' frame\n\
 parameter is specified, it determines the y-position of the tooltip\n\
 window, otherwise it is displayed at the mouse position, with offset\n\
-DY added (default is -5).")
+DY added (default is -10).")
   (string, frame, parms, timeout, dx, dy)
      Lisp_Object string, frame, parms, timeout, dx, dy;
 {
@@ -10532,7 +10532,7 @@
     CHECK_NUMBER (dx, 5);
   
   if (NILP (dy))
-    dy = make_number (-5);
+    dy = make_number (-10);
   else
     CHECK_NUMBER (dy, 6);