aboutsummaryrefslogtreecommitdiffstats
path: root/src/xfns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xfns.c')
-rw-r--r--src/xfns.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xfns.c b/src/xfns.c
index 313ac52f12a..3f95f7b79fb 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -5582,6 +5582,8 @@ x_create_tip_frame (struct x_display_info *dpyinfo,
5582 "autoLower", "AutoRaiseLower", RES_TYPE_BOOLEAN); 5582 "autoLower", "AutoRaiseLower", RES_TYPE_BOOLEAN);
5583 x_default_parameter (f, parms, Qcursor_type, Qbox, 5583 x_default_parameter (f, parms, Qcursor_type, Qbox,
5584 "cursorType", "CursorType", RES_TYPE_SYMBOL); 5584 "cursorType", "CursorType", RES_TYPE_SYMBOL);
5585 x_default_parameter (f, parms, Qalpha, Qnil,
5586 "alpha", "Alpha", RES_TYPE_NUMBER);
5585 5587
5586 /* Dimensions, especially FRAME_LINES (f), must be done via change_frame_size. 5588 /* Dimensions, especially FRAME_LINES (f), must be done via change_frame_size.
5587 Change will not be effected unless different from the current 5589 Change will not be effected unless different from the current
@@ -5719,7 +5721,7 @@ compute_tip_xy (struct frame *f, Lisp_Object parms, Lisp_Object dx, Lisp_Object
5719 if (INTEGERP (left)) 5721 if (INTEGERP (left))
5720 *root_x = XINT (left); 5722 *root_x = XINT (left);
5721 else if (INTEGERP (right)) 5723 else if (INTEGERP (right))
5722 *root_y = XINT (right) - width; 5724 *root_x = XINT (right) - width;
5723 else if (*root_x + XINT (dx) <= 0) 5725 else if (*root_x + XINT (dx) <= 0)
5724 *root_x = 0; /* Can happen for negative dx */ 5726 *root_x = 0; /* Can happen for negative dx */
5725 else if (*root_x + XINT (dx) + width 5727 else if (*root_x + XINT (dx) + width