]> code.delx.au - gnu-emacs/commit
Handle mouse leaving initial window in `mouse-set-region' (Bug#23707)
authorMartin Rudalics <rudalics@gmx.at>
Thu, 9 Jun 2016 08:12:48 +0000 (10:12 +0200)
committerMartin Rudalics <rudalics@gmx.at>
Thu, 9 Jun 2016 08:12:48 +0000 (10:12 +0200)
commitd59bcbc00bc70f101492a80ea48964b2dd5d337d
treef68f24bac0af603829e7f6345866f08f1aabad20
parent27fe1e459ab137b20d45ef4167f3c2ec0d10fdd4
Handle mouse leaving initial window in `mouse-set-region' (Bug#23707)

* lisp/mouse.el (mouse-set-region): If the mouse ends up in
another window or on the menu bar, use `window-point' of
selected window instead of `posn-point' of the event end
(Bug#23707).
lisp/mouse.el