Fix bug #17892 with mode/header line and display margins.
commit691d7ac6784d0748a179593895fcd944872707fb
authorEli Zaretskii <eliz@gnu.org>
Tue, 1 Jul 2014 17:07:24 +0000 (1 20:07 +0300)
committerEli Zaretskii <eliz@gnu.org>
Tue, 1 Jul 2014 17:07:24 +0000 (1 20:07 +0300)
tree81f188fa572fc847f0b4cdc0d85dfa7bcf9ec4f5
parentbc1ee3a748a8a9a91ccc2192eede33dfe7a04f38
Fix bug #17892 with mode/header line and display margins.

 src/dispnew.c (prepare_desired_row): Accept 2 additional arguments:
 the window whose glyph row is being prepared and a flag whether it
 is for mode/header line.  Make sure the glyph row's marginal areas
 are in sync with what the window wants.
 src/xdisp.c (display_line, display_mode_line): Call
 prepare_desired_row with additional arguments, as appropriate.
 src/dispextern.h (prepare_desired_row): Adjust prototype.
 src/window.h: Improve commentary of the marginal columns.
src/ChangeLog
src/dispextern.h
src/dispnew.c
src/window.h
src/xdisp.c