Mercurial > emacs
comparison src/xterm.c @ 90295:4b3d39451150
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-14
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 58-65)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 22-28)
- Update from CVS
- Merge from emacs--devo--0
- Update from CVS: lisp/gnus.el: Remove bogus comment.
author | Miles Bader <miles@gnu.org> |
---|---|
date | Sat, 11 Feb 2006 00:11:19 +0000 |
parents | 5b7d410e31f9 134afd3ac567 |
children | d57ee9eab157 |
comparison
equal
deleted
inserted
replaced
90294:c5406394f567 | 90295:4b3d39451150 |
---|---|
6473 | 6473 |
6474 /* EnterNotify counts as mouse movement, | 6474 /* EnterNotify counts as mouse movement, |
6475 so update things that depend on mouse position. */ | 6475 so update things that depend on mouse position. */ |
6476 if (f && !f->output_data.x->hourglass_p) | 6476 if (f && !f->output_data.x->hourglass_p) |
6477 note_mouse_movement (f, &event.xmotion); | 6477 note_mouse_movement (f, &event.xmotion); |
6478 #ifdef USE_GTK | |
6479 /* We may get an EnterNotify on the buttons in the toolbar. In that | |
6480 case we moved out of any highlighted area and need to note this. */ | |
6481 if (!f && last_mouse_glyph_frame) | |
6482 note_mouse_movement (last_mouse_glyph_frame, &event); | |
6483 #endif | |
6478 goto OTHER; | 6484 goto OTHER; |
6479 | 6485 |
6480 case FocusIn: | 6486 case FocusIn: |
6481 x_detect_focus_change (dpyinfo, &event, &inev.ie); | 6487 x_detect_focus_change (dpyinfo, &event, &inev.ie); |
6482 goto OTHER; | 6488 goto OTHER; |
6500 Otherwise, the startup message is cleared when | 6506 Otherwise, the startup message is cleared when |
6501 the mouse leaves the frame. */ | 6507 the mouse leaves the frame. */ |
6502 if (any_help_event_p) | 6508 if (any_help_event_p) |
6503 do_help = -1; | 6509 do_help = -1; |
6504 } | 6510 } |
6511 #ifdef USE_GTK | |
6512 /* See comment in EnterNotify above */ | |
6513 else if (last_mouse_glyph_frame) | |
6514 note_mouse_movement (last_mouse_glyph_frame, &event); | |
6515 #endif | |
6505 goto OTHER; | 6516 goto OTHER; |
6506 | 6517 |
6507 case FocusOut: | 6518 case FocusOut: |
6508 x_detect_focus_change (dpyinfo, &event, &inev.ie); | 6519 x_detect_focus_change (dpyinfo, &event, &inev.ie); |
6509 goto OTHER; | 6520 goto OTHER; |