[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/frame.c
From: |
Richard M . Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/src/frame.c |
Date: |
Sat, 17 Jul 2004 10:48:28 -0400 |
Index: emacs/src/frame.c
diff -c emacs/src/frame.c:1.306 emacs/src/frame.c:1.307
*** emacs/src/frame.c:1.306 Sun Nov 16 16:17:09 2003
--- emacs/src/frame.c Sat Jul 17 14:45:01 2004
***************
*** 1327,1332 ****
--- 1327,1362 ----
}
}
+ /* If there's no other frame on the same kboard, get out of
+ single-kboard state if we're in it for this kboard. */
+ {
+ Lisp_Object frames;
+ /* Some frame we found on the same kboard, or nil if there are none. */
+ Lisp_Object frame_on_same_kboard;
+
+ frame_on_same_kboard = Qnil;
+
+ for (frames = Vframe_list;
+ CONSP (frames);
+ frames = XCDR (frames))
+ {
+ Lisp_Object this;
+ struct frame *f1;
+
+ this = XCAR (frames);
+ if (!FRAMEP (this))
+ abort ();
+ f1 = XFRAME (this);
+
+ if (FRAME_KBOARD (f) == FRAME_KBOARD (f1))
+ frame_on_same_kboard = this;
+ }
+
+ if (NILP (frame_on_same_kboard))
+ not_single_kboard_state (FRAME_KBOARD (f));
+ }
+
+
/* If we've deleted this keyboard's default_minibuffer_frame, try to
find another one. Prefer minibuffer-only frames, but also notice
frames with other windows. */
- [Emacs-diffs] Changes to emacs/src/frame.c,
Richard M . Stallman <=