Commit c0bb9f3b authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(mouse-buffer-menu): Don't select the event's window,

if event has frame instead.
parent bdd53bbc
......@@ -258,7 +258,7 @@ and selects that window."
(window (posn-window (event-start event))))
(if buf
(select-window window)
(or (framep window) (select-window window))
(switch-to-buffer buf))))))
;;; These need to be rewritten for the new scroll bar implementation.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment