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: |