diff options
| author | Miles Bader | 2005-06-06 02:39:45 +0000 |
|---|---|---|
| committer | Miles Bader | 2005-06-06 02:39:45 +0000 |
| commit | fdffd346262841cb194225ea0acd8059c57ec2d4 (patch) | |
| tree | d8b3699131f7d1b94bc46c7d8be62af6b8b5ebfe /src/xterm.c | |
| parent | a5c508fe3a3f456c987283156315d0384d38fe9e (diff) | |
| parent | a9b4333620eb259e974445066a8e64cee0c21d69 (diff) | |
| download | emacs-fdffd346262841cb194225ea0acd8059c57ec2d4.tar.gz emacs-fdffd346262841cb194225ea0acd8059c57ec2d4.zip | |
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-57
Merge from emacs--cvs-trunk--0
Patches applied:
* emacs--cvs-trunk--0 (patch 324-352)
- Merge from gnus--rel--5.10
- Update from CVS
- etc/emacs-buffer.gdb: Remove RCS keywords
* gnus--rel--5.10 (patch 70-79)
- Update from CVS
- Merge from emacs--cvs-trunk--0
Diffstat (limited to 'src/xterm.c')
| -rw-r--r-- | src/xterm.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/xterm.c b/src/xterm.c index 01612d0d0ae..be61c15afdd 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -906,6 +906,7 @@ x_encode_char (c, char2b, font_info, charset, two_byte_p) | |||
| 906 | /* It's a program. */ | 906 | /* It's a program. */ |
| 907 | struct ccl_program *ccl = font_info->font_encoder; | 907 | struct ccl_program *ccl = font_info->font_encoder; |
| 908 | 908 | ||
| 909 | check_ccl_update (ccl); | ||
| 909 | if (CHARSET_DIMENSION (charset) == 1) | 910 | if (CHARSET_DIMENSION (charset) == 1) |
| 910 | { | 911 | { |
| 911 | ccl->reg[0] = CHARSET_ID (charset); | 912 | ccl->reg[0] = CHARSET_ID (charset); |
| @@ -6782,12 +6783,6 @@ handle_one_xevent (dpyinfo, eventp, finish, hold_quit) | |||
| 6782 | { | 6783 | { |
| 6783 | dpyinfo->grabbed |= (1 << event.xbutton.button); | 6784 | dpyinfo->grabbed |= (1 << event.xbutton.button); |
| 6784 | last_mouse_frame = f; | 6785 | last_mouse_frame = f; |
| 6785 | /* Ignore any mouse motion that happened | ||
| 6786 | before this event; any subsequent mouse-movement | ||
| 6787 | Emacs events should reflect only motion after | ||
| 6788 | the ButtonPress. */ | ||
| 6789 | if (f != 0) | ||
| 6790 | f->mouse_moved = 0; | ||
| 6791 | 6786 | ||
| 6792 | if (!tool_bar_p) | 6787 | if (!tool_bar_p) |
| 6793 | last_tool_bar_item = -1; | 6788 | last_tool_bar_item = -1; |
| @@ -6795,6 +6790,12 @@ handle_one_xevent (dpyinfo, eventp, finish, hold_quit) | |||
| 6795 | else | 6790 | else |
| 6796 | dpyinfo->grabbed &= ~(1 << event.xbutton.button); | 6791 | dpyinfo->grabbed &= ~(1 << event.xbutton.button); |
| 6797 | 6792 | ||
| 6793 | /* Ignore any mouse motion that happened before this event; | ||
| 6794 | any subsequent mouse-movement Emacs events should reflect | ||
| 6795 | only motion after the ButtonPress/Release. */ | ||
| 6796 | if (f != 0) | ||
| 6797 | f->mouse_moved = 0; | ||
| 6798 | |||
| 6798 | #if defined (USE_X_TOOLKIT) || defined (USE_GTK) | 6799 | #if defined (USE_X_TOOLKIT) || defined (USE_GTK) |
| 6799 | f = x_menubar_window_to_frame (dpyinfo, event.xbutton.window); | 6800 | f = x_menubar_window_to_frame (dpyinfo, event.xbutton.window); |
| 6800 | /* For a down-event in the menu bar, | 6801 | /* For a down-event in the menu bar, |