aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
diff options
context:
space:
mode:
authorKaroly Lorentey2006-02-16 16:18:54 +0000
committerKaroly Lorentey2006-02-16 16:18:54 +0000
commit322c30faa92c5ba2accc1027893a7cc24abbde72 (patch)
tree235c1de5e7e7b71c470b326e9480e3476c483050 /src/xterm.c
parent6213d5b33cfae99e350488ab96bfd9704e0ff834 (diff)
parentb51897597a6ab40a4772d70a23421e66b3eb5048 (diff)
downloademacs-322c30faa92c5ba2accc1027893a7cc24abbde72.tar.gz
emacs-322c30faa92c5ba2accc1027893a7cc24abbde72.zip
Merged from
Patches applied: * emacs@sv.gnu.org/emacs--devo--0--patch-73 Merge from erc--emacs--0 * emacs@sv.gnu.org/emacs--devo--0--patch-74 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-75 Make ERC comply with the new copyright year guidelines. * emacs@sv.gnu.org/emacs--devo--0--patch-76 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-77 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-78 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-79 (rcirc-format-response-string): Fix small bugs * emacs@sv.gnu.org/emacs--devo--0--patch-80 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-81 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-82 Fix compiler error in erc-dcc.el. * emacs@sv.gnu.org/emacs--devo--0--patch-83 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-84 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-85 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-86 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-87 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-88 Merge from erc--emacs--0 * emacs@sv.gnu.org/emacs--devo--0--patch-89 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-90 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-513
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/xterm.c b/src/xterm.c
index afbc718d645..86e780cc611 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -325,8 +325,7 @@ static void x_set_window_size_1 P_ ((struct frame *, int, int, int));
325static const XColor *x_color_cells P_ ((Display *, int *)); 325static const XColor *x_color_cells P_ ((Display *, int *));
326static void x_update_window_end P_ ((struct window *, int, int)); 326static void x_update_window_end P_ ((struct window *, int, int));
327void x_delete_display P_ ((struct x_display_info *)); 327void x_delete_display P_ ((struct x_display_info *));
328static unsigned int x_x_to_emacs_modifiers P_ ((struct x_display_info *, 328
329 unsigned));
330static int x_io_error_quitter P_ ((Display *)); 329static int x_io_error_quitter P_ ((Display *));
331int x_catch_errors P_ ((Display *)); 330int x_catch_errors P_ ((Display *));
332void x_uncatch_errors P_ ((Display *, int)); 331void x_uncatch_errors P_ ((Display *, int));
@@ -3470,7 +3469,7 @@ x_find_modifier_meanings (dpyinfo)
3470/* Convert between the modifier bits X uses and the modifier bits 3469/* Convert between the modifier bits X uses and the modifier bits
3471 Emacs uses. */ 3470 Emacs uses. */
3472 3471
3473static unsigned int 3472unsigned int
3474x_x_to_emacs_modifiers (dpyinfo, state) 3473x_x_to_emacs_modifiers (dpyinfo, state)
3475 struct x_display_info *dpyinfo; 3474 struct x_display_info *dpyinfo;
3476 unsigned int state; 3475 unsigned int state;
@@ -3598,6 +3597,9 @@ note_mouse_movement (frame, event)
3598 last_mouse_motion_event = *event; 3597 last_mouse_motion_event = *event;
3599 XSETFRAME (last_mouse_motion_frame, frame); 3598 XSETFRAME (last_mouse_motion_frame, frame);
3600 3599
3600 if (!FRAME_X_OUTPUT (frame))
3601 return 0;
3602
3601 if (event->window != FRAME_X_WINDOW (frame)) 3603 if (event->window != FRAME_X_WINDOW (frame))
3602 { 3604 {
3603 frame->mouse_moved = 1; 3605 frame->mouse_moved = 1;