]> git.eshelyaron.com Git - emacs.git/commit
Prevent errant scroll on mouse click (Bug#31546)
authorAaron Jensen <aaronjensen@gmail.com>
Thu, 24 May 2018 10:45:03 +0000 (03:45 -0700)
committerAlan Third <alan@idiocy.org>
Sun, 17 Jun 2018 10:50:57 +0000 (11:50 +0100)
commitebe065fddf76fde64a9c07b419b67fe47fb6c1cb
tree9bc1e2ed312704df5347bfc707bb3485a71c5552
parentffd20184ca9bb026064f28aa260f2298baeb7fc8
Prevent errant scroll on mouse click (Bug#31546)

* src/nsterm.m (ns_mouse_position): Use correct frame when determining
  mouse position.
* lisp/mouse.el (mouse-drag-track): Only account for mode-line height
  if `mode-line-format' is non-nil.
lisp/mouse.el
src/nsterm.m