/[emacs]/emacs/src/xterm.c
ViewVC logotype

Diff of /emacs/src/xterm.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.819 by handa, Tue Nov 11 07:47:44 2003 UTC revision 1.820 by jhd, Fri Nov 14 19:13:01 2003 UTC
# Line 3209  x_detect_focus_change (dpyinfo, event, b Line 3209  x_detect_focus_change (dpyinfo, event, b
3209      {      {
3210      case EnterNotify:      case EnterNotify:
3211      case LeaveNotify:      case LeaveNotify:
3212        if (event->xcrossing.detail != NotifyInferior        {
3213            && event->xcrossing.focus          struct frame *focus_frame = dpyinfo->x_focus_event_frame;
3214            && ! (frame->output_data.x->focus_state & FOCUS_EXPLICIT))          int focus_state
3215          nr_events = x_focus_changed ((event->type == EnterNotify            = focus_frame ? focus_frame->output_data.x->focus_state : 0;
3216                                        ? FocusIn : FocusOut),  
3217                                       FOCUS_IMPLICIT,          if (event->xcrossing.detail != NotifyInferior
3218                                       dpyinfo,              && event->xcrossing.focus
3219                                       frame,              && ! (focus_state & FOCUS_EXPLICIT))
3220                                       bufp,            nr_events = x_focus_changed ((event->type == EnterNotify
3221                                       numchars);                                          ? FocusIn : FocusOut),
3222                                           FOCUS_IMPLICIT,
3223                                           dpyinfo,
3224                                           frame,
3225                                           bufp,
3226                                           numchars);
3227          }
3228        break;        break;
3229    
3230      case FocusIn:      case FocusIn:

Legend:
Removed from v.1.819  
changed lines
  Added in v.1.820

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26