Fix Vx_show_tooltip_timeout in ns build, too

* src/nsfns.m (Fx_show_tip): Respect Vx_show_tooltip_timeout here,
too.
This commit is contained in:
Lars Ingebrigtsen 2022-04-30 18:21:51 +02:00
parent 52e6352b81
commit 0ea0aa255c

View file

@ -2862,9 +2862,8 @@ Frames are listed from topmost (first) to bottommost (last). */)
str = SSDATA (string);
f = decode_window_system_frame (frame);
if (NILP (timeout))
timeout = make_fixnum (5);
else
CHECK_FIXNAT (timeout);
timeout = Vx_show_tooltip_timeout;
CHECK_FIXNAT (timeout);
if (NILP (dx))
dx = make_fixnum (5);