changeset 41449:4416668397d7

(compute_tip_xy): Initialize root_x and root_y from mouse position if either left or top is not specified.
author Jason Rumney <jasonr@gnu.org>
date Sat, 24 Nov 2001 17:48:40 +0000
parents 96beda35d0fa
children 7a2e849081bb
files src/xfns.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfns.c	Sat Nov 24 17:39:31 2001 +0000
+++ b/src/xfns.c	Sat Nov 24 17:48:40 2001 +0000
@@ -11077,7 +11077,7 @@
   
   /* Move the tooltip window where the mouse pointer is.  Resize and
      show it.  */
-  if (!INTEGERP (left) && !INTEGERP (top))
+  if (!INTEGERP (left) || !INTEGERP (top))
     {
       BLOCK_INPUT;
       XQueryPointer (FRAME_X_DISPLAY (f), FRAME_X_DISPLAY_INFO (f)->root_window,