Fix most of bug #16051 with redisplay loops when resizing tool-bar.
authorEli Zaretskii <eliz@gnu.org>
Mon, 23 Dec 2013 16:36:34 +0000 (18:36 +0200)
committerEli Zaretskii <eliz@gnu.org>
Mon, 23 Dec 2013 16:36:34 +0000 (18:36 +0200)
commit0db7548bea067f74998d8219d524220d8ff1269b
treeb503a5b286574bde4ac25845c33f1d760a6f512d
parent4157ea7faf2815b8903a981f6375af529c7047ae
Fix most of bug #16051 with redisplay loops when resizing tool-bar.

 src/xdisp.c (tool_bar_height): Use WINDOW_PIXEL_WIDTH to set up the
 iterator X limits, not FRAME_TOTAL_COLS, for consistency with what
 redisplay_tool_bar does.  Improve and fix commentary.
 (hscroll_window_tree): Don't assume w->cursor.vpos is within the
 limits of the glyph matrices.
src/ChangeLog
src/xdisp.c