+2005-12-02 Eli Zaretskii <eliz@gnu.org>
+
+ * w32fns.c (compute_tip_xy): Put tip above pointer if it doesn't
+ fit below.
+
2005-12-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
* xterm.h: Add prototype for xg_set_icon_from_xpm_data.
*root_y = XINT (top);
else if (*root_y + XINT (dy) - height < 0)
*root_y -= XINT (dy);
+ /* If there's not enough place below the pointer, put tip above it. */
+ else if (*root_y + XINT (dy) >= FRAME_W32_DISPLAY_INFO (f)->height)
+ *root_y -= XINT (dy);
else
{
*root_y -= height;