mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-07 04:10:27 -08:00
(compute_tip_xy): Initialize root_x and root_y from
mouse position if either left or top is not specified.
This commit is contained in:
parent
bfd6edcc91
commit
570d22b035
1 changed files with 1 additions and 1 deletions
|
|
@ -11077,7 +11077,7 @@ compute_tip_xy (f, parms, dx, dy, width, height, root_x, root_y)
|
|||
|
||||
/* 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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue