Commit a1dd2936 authored by Glenn Morris's avatar Glenn Morris
Browse files

(handle_one_xevent): Don't let popup menus cause

mouse-autoselect-window related window switching.  (Bug#1261)
parent 723f3a23
2008-11-06 Glenn Morris <rgm@gnu.org>
* xterm.c (handle_one_xevent): Don't let popup menus cause
mouse-autoselect-window related window switching. (Bug#1261)
2008-11-04 David Smith <davidsmith@acm.org> (tiny change) 2008-11-04 David Smith <davidsmith@acm.org> (tiny change)
   
* xterm.c (xim_close_dpy): Avoid double-free on X11R6 XIM. * xterm.c (xim_close_dpy): Avoid double-free on X11R6 XIM.
......
...@@ -6722,8 +6722,9 @@ handle_one_xevent (dpyinfo, eventp, finish, hold_quit) ...@@ -6722,8 +6722,9 @@ handle_one_xevent (dpyinfo, eventp, finish, hold_quit)
if (f) if (f)
{ {
/* Generate SELECT_WINDOW_EVENTs when needed. */ /* Generate SELECT_WINDOW_EVENTs when needed.
if (!NILP (Vmouse_autoselect_window)) Don't let popup menus influence things (bug#1261). */
if (!NILP (Vmouse_autoselect_window) && !popup_activated ())
{ {
Lisp_Object window; Lisp_Object window;
......
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