diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 10 | ||||
| -rw-r--r-- | src/xterm.c | 2 |
2 files changed, 8 insertions, 4 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 14286447d13..9170d6b777f 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -31377,10 +31377,12 @@ note_mouse_highlight (struct frame *f, int x, int y) | |||
| 31377 | /* Check mouse-face highlighting. */ | 31377 | /* Check mouse-face highlighting. */ |
| 31378 | if (! same_region | 31378 | if (! same_region |
| 31379 | /* If there exists an overlay with mouse-face overlapping | 31379 | /* If there exists an overlay with mouse-face overlapping |
| 31380 | the one we are currently highlighting, we have to | 31380 | the one we are currently highlighting, we have to check |
| 31381 | check if we enter the overlapping overlay, and then | 31381 | if we enter the overlapping overlay, and then highlight |
| 31382 | highlight only that. */ | 31382 | only that. Skip the check when mouse-face highlighting |
| 31383 | || (OVERLAYP (hlinfo->mouse_face_overlay) | 31383 | is currently hidden to avoid Bug#30519. */ |
| 31384 | || (!hlinfo->mouse_face_hidden | ||
| 31385 | && OVERLAYP (hlinfo->mouse_face_overlay) | ||
| 31384 | && mouse_face_overlay_overlaps (hlinfo->mouse_face_overlay))) | 31386 | && mouse_face_overlay_overlaps (hlinfo->mouse_face_overlay))) |
| 31385 | { | 31387 | { |
| 31386 | /* Find the highest priority overlay with a mouse-face. */ | 31388 | /* Find the highest priority overlay with a mouse-face. */ |
diff --git a/src/xterm.c b/src/xterm.c index 2371058cd45..0d25c7f1a26 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -13250,6 +13250,8 @@ small font display sizes. */); | |||
| 13250 | DEFVAR_BOOL ("x-underline-at-descent-line", | 13250 | DEFVAR_BOOL ("x-underline-at-descent-line", |
| 13251 | x_underline_at_descent_line, | 13251 | x_underline_at_descent_line, |
| 13252 | doc: /* Non-nil means to draw the underline at the same place as the descent line. | 13252 | doc: /* Non-nil means to draw the underline at the same place as the descent line. |
| 13253 | (If `line-spacing' is in effect, that moves the underline lower by | ||
| 13254 | that many pixels.) | ||
| 13253 | A value of nil means to draw the underline according to the value of the | 13255 | A value of nil means to draw the underline according to the value of the |
| 13254 | variable `x-use-underline-position-properties', which is usually at the | 13256 | variable `x-use-underline-position-properties', which is usually at the |
| 13255 | baseline level. The default value is nil. */); | 13257 | baseline level. The default value is nil. */); |