diff options
-rw-r--r-- | src/frame.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frame.c b/src/frame.c index ff6e7cd10ac..f6c8c57186c 100644 --- a/src/frame.c +++ b/src/frame.c @@ -451,7 +451,7 @@ do_switch_frame (frame, no_enter, track) #else /* ! 0 */ /* Instead, apply it only to the frame we're pointing to. */ #ifdef HAVE_X_WINDOWS - if (track) + if (track && FRAME_X_P (XFRAME (frame))) { Lisp_Object focus, xfocus; |