diff options
Diffstat (limited to 'src/xterm.c')
| -rw-r--r-- | src/xterm.c | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/src/xterm.c b/src/xterm.c index 74e495e5645..b3534871da9 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -3435,17 +3435,10 @@ x_focus_changed (int type, int state, struct x_display_info *dpyinfo, struct fra | |||
| 3435 | /* Don't stop displaying the initial startup message | 3435 | /* Don't stop displaying the initial startup message |
| 3436 | for a switch-frame event we don't need. */ | 3436 | for a switch-frame event we don't need. */ |
| 3437 | /* When run as a daemon, Vterminal_frame is always NIL. */ | 3437 | /* When run as a daemon, Vterminal_frame is always NIL. */ |
| 3438 | if ((NILP (Vterminal_frame) || EQ (Fdaemonp(), Qt)) | 3438 | bufp->arg = (((NILP (Vterminal_frame) || EQ (Fdaemonp (), Qt)) |
| 3439 | && CONSP (Vframe_list) | 3439 | && CONSP (Vframe_list) |
| 3440 | && !NILP (XCDR (Vframe_list))) | 3440 | && !NILP (XCDR (Vframe_list))) |
| 3441 | { | 3441 | ? Qt : Qnil); |
| 3442 | bufp->arg = Qt; | ||
| 3443 | } | ||
| 3444 | else | ||
| 3445 | { | ||
| 3446 | bufp->arg = Qnil; | ||
| 3447 | } | ||
| 3448 | |||
| 3449 | bufp->kind = FOCUS_IN_EVENT; | 3442 | bufp->kind = FOCUS_IN_EVENT; |
| 3450 | XSETFRAME (bufp->frame_or_window, frame); | 3443 | XSETFRAME (bufp->frame_or_window, frame); |
| 3451 | } | 3444 | } |