]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fx_show_tip): Use default y-offset of -10 so that
authorGerd Moellmann <gerd@gnu.org>
Sat, 18 Nov 2000 13:43:59 +0000 (13:43 +0000)
committerGerd Moellmann <gerd@gnu.org>
Sat, 18 Nov 2000 13:43:59 +0000 (13:43 +0000)
the tooltip obscures less text under it.

src/xfns.c

index 1a45b20c9844bcac0b5b2243b6a152ef36c83816..ca90996770d8dc90cc33dfb02a847d69fc81f375 100644 (file)
@@ -10498,7 +10498,7 @@ displayed at the mouse position, with offset DX added (default is 5 if\n\
 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 @@ DY added (default is -5).")
     CHECK_NUMBER (dx, 5);
   
   if (NILP (dy))
-    dy = make_number (-5);
+    dy = make_number (-10);
   else
     CHECK_NUMBER (dy, 6);