diff options
author | Eli Zaretskii <eliz@gnu.org> | 2018-10-13 19:47:01 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2018-10-13 19:47:01 +0300 |
commit | e724a8f6694280fcb4753a87011abf9dc1c2771e (patch) | |
tree | 47df91d0df519cb269db620c0863e4215dac7dc8 /src/dispnew.c | |
parent | 8fc892df37700d899d2851ef4918c56c5201ea19 (diff) | |
download | emacs-e724a8f6694280fcb4753a87011abf9dc1c2771e.tar.gz |
Fix redisplay of glyphless characters
* src/conf_post.h (bool_bf): Use 'unsigned int' in the MinGW
builds. Suggested by Tom Tromey <tom@tromey.com>. (Bug#33017)
* src/dispnew.c (scrolling_window): Update commentary
regarding xwidget builds.
Diffstat (limited to 'src/dispnew.c')
-rw-r--r-- | src/dispnew.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/dispnew.c b/src/dispnew.c index a81d6f64d1e..d3a31967ae0 100644 --- a/src/dispnew.c +++ b/src/dispnew.c @@ -4125,7 +4125,12 @@ scrolling_window (struct window *w, bool header_line_p) } #ifdef HAVE_XWIDGETS - /* Currently this seems needed to detect xwidget movement reliably. */ + /* Currently this seems needed to detect xwidget movement reliably. + This is most probably because an xwidget glyph is represented in + struct glyph's 'union u' by a pointer to a struct, which takes 8 + bytes in 64-bit builds, and thus the comparison of u.val values + done by GLYPH_EQUAL_P doesn't work reliably, since it assumes the + size of the union is 4 bytes. FIXME. */ return 0; #endif |