More fixes for mouse glyph calculations (Bug#16647).
authorMartin Rudalics <rudalics@gmx.at>
Thu, 27 Feb 2014 19:22:10 +0000 (20:22 +0100)
committerMartin Rudalics <rudalics@gmx.at>
Thu, 27 Feb 2014 19:22:10 +0000 (20:22 +0100)
commit653b6ea317969d0e78f13e7e84e970c4032a298a
tree95a0f100e7b903165885279434a06ac69431e8e2
parent11de63ede082fe5913f9714f4bba05ac6e6b984c
More fixes for mouse glyph calculations (Bug#16647).

More fixes for mouse glyph calculations (Bug#16647).
* window.c (coordinates_in_window): In intersection of
horizontal and vertical window dividers prefer the horizontal
one.  Add some extra parens to last fix.
(window_relative_x_coord): Return x-coordinate for header and
mode line too.
* xdisp.c (remember_mouse_glyph): In text area don't extend
glyph into mode line to show the vertical drag cursor there
immediately.  Subdivide mouse glyphs in right fringes to show a
horizontal drag cursor as soon as we enter the "grabbable width"
portion.  Handle vertical border case separately.  Do not
subdivide window divider areas.
(note_mouse_highlight): On bottom divider of bottommost windows
show vertical drag cursor only when the minibuffer window can be
resized.
src/ChangeLog
src/window.c
src/xdisp.c