summaryrefslogtreecommitdiff
path: root/src/frame.c
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1995-04-24 17:39:46 +0000
committerKarl Heuer <kwzh@gnu.org>1995-04-24 17:39:46 +0000
commit2eb1fa02cbbc6c6e76b058167fd0e9ab57cc39b0 (patch)
tree21c8f86509e4599fd38006f8ca0721667e2749ef /src/frame.c
parent8428ba33d17e936562c9693dcd29ca3c796ff40c (diff)
downloademacs-2eb1fa02cbbc6c6e76b058167fd0e9ab57cc39b0.tar.gz
(do_switch_frame): Don't try to refocus termcap frames.
Diffstat (limited to 'src/frame.c')
-rw-r--r--src/frame.c2
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;