diff options
| author | Miles Bader | 2007-08-21 04:55:30 +0000 |
|---|---|---|
| committer | Miles Bader | 2007-08-21 04:55:30 +0000 |
| commit | 1fb072d1dff954c21d4805196df62c8eeead301c (patch) | |
| tree | da374db1a51e2a355b46f26a1c99e1ac5db5dca4 /src/xterm.c | |
| parent | aaf34461ff5804e5cebe163b31e535da72e81d87 (diff) | |
| parent | bdaf8a62d53cf8d5a0dc4f0dc530ecd6fc1f44fe (diff) | |
| download | emacs-1fb072d1dff954c21d4805196df62c8eeead301c.tar.gz emacs-1fb072d1dff954c21d4805196df62c8eeead301c.zip | |
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 852-856)
- Update from CVS
- Merge from emacs--rel--22
* emacs--rel--22 (patch 93-96)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 245)
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--multi-tty--0--patch-32
Diffstat (limited to 'src/xterm.c')
| -rw-r--r-- | src/xterm.c | 34 |
1 files changed, 15 insertions, 19 deletions
diff --git a/src/xterm.c b/src/xterm.c index 1ced63932e5..0e56b04c1b0 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -6866,27 +6866,23 @@ handle_one_xevent (dpyinfo, eventp, finish, hold_quit) | |||
| 6866 | } | 6866 | } |
| 6867 | 6867 | ||
| 6868 | if (!tool_bar_p) | 6868 | if (!tool_bar_p) |
| 6869 | if (!dpyinfo->x_focus_frame | ||
| 6870 | || f == dpyinfo->x_focus_frame) | ||
| 6871 | { | ||
| 6872 | #if defined (USE_X_TOOLKIT) || defined (USE_GTK) | 6869 | #if defined (USE_X_TOOLKIT) || defined (USE_GTK) |
| 6873 | if (! popup_activated ()) | 6870 | if (! popup_activated ()) |
| 6874 | #endif | 6871 | #endif |
| 6875 | { | 6872 | { |
| 6876 | if (ignore_next_mouse_click_timeout) | 6873 | if (ignore_next_mouse_click_timeout) |
| 6877 | { | 6874 | { |
| 6878 | if (event.type == ButtonPress | 6875 | if (event.type == ButtonPress |
| 6879 | && (int)(event.xbutton.time - ignore_next_mouse_click_timeout) > 0) | 6876 | && (int)(event.xbutton.time - ignore_next_mouse_click_timeout) > 0) |
| 6880 | { | 6877 | { |
| 6881 | ignore_next_mouse_click_timeout = 0; | 6878 | ignore_next_mouse_click_timeout = 0; |
| 6882 | construct_mouse_click (&inev.ie, &event.xbutton, f); | 6879 | construct_mouse_click (&inev.ie, &event.xbutton, f); |
| 6883 | } | 6880 | } |
| 6884 | if (event.type == ButtonRelease) | 6881 | if (event.type == ButtonRelease) |
| 6885 | ignore_next_mouse_click_timeout = 0; | 6882 | ignore_next_mouse_click_timeout = 0; |
| 6886 | } | 6883 | } |
| 6887 | else | 6884 | else |
| 6888 | construct_mouse_click (&inev.ie, &event.xbutton, f); | 6885 | construct_mouse_click (&inev.ie, &event.xbutton, f); |
| 6889 | } | ||
| 6890 | } | 6886 | } |
| 6891 | } | 6887 | } |
| 6892 | else | 6888 | else |