diff options
| author | Glenn Morris | 2008-11-06 03:49:28 +0000 |
|---|---|---|
| committer | Glenn Morris | 2008-11-06 03:49:28 +0000 |
| commit | a1dd29361ac672769fd65b1648457d77200607e5 (patch) | |
| tree | 7842640d21cae951492dff2ae6383583db78b164 /src | |
| parent | 723f3a23f5b8a14d48504a07233950e0b744c99d (diff) | |
| download | emacs-a1dd29361ac672769fd65b1648457d77200607e5.tar.gz emacs-a1dd29361ac672769fd65b1648457d77200607e5.zip | |
(handle_one_xevent): Don't let popup menus cause
mouse-autoselect-window related window switching. (Bug#1261)
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/xterm.c | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 3fcbd4aaf98..2d94ce8a9af 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2008-11-06 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * xterm.c (handle_one_xevent): Don't let popup menus cause | ||
| 4 | mouse-autoselect-window related window switching. (Bug#1261) | ||
| 5 | |||
| 1 | 2008-11-04 David Smith <davidsmith@acm.org> (tiny change) | 6 | 2008-11-04 David Smith <davidsmith@acm.org> (tiny change) |
| 2 | 7 | ||
| 3 | * xterm.c (xim_close_dpy): Avoid double-free on X11R6 XIM. | 8 | * xterm.c (xim_close_dpy): Avoid double-free on X11R6 XIM. |
diff --git a/src/xterm.c b/src/xterm.c index 788bc39e2d6..eef22a51443 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -6722,8 +6722,9 @@ handle_one_xevent (dpyinfo, eventp, finish, hold_quit) | |||
| 6722 | if (f) | 6722 | if (f) |
| 6723 | { | 6723 | { |
| 6724 | 6724 | ||
| 6725 | /* Generate SELECT_WINDOW_EVENTs when needed. */ | 6725 | /* Generate SELECT_WINDOW_EVENTs when needed. |
| 6726 | if (!NILP (Vmouse_autoselect_window)) | 6726 | Don't let popup menus influence things (bug#1261). */ |
| 6727 | if (!NILP (Vmouse_autoselect_window) && !popup_activated ()) | ||
| 6727 | { | 6728 | { |
| 6728 | Lisp_Object window; | 6729 | Lisp_Object window; |
| 6729 | 6730 | ||