changeset 5209:94982b8f9485

When printing a frame, print its device, making things clearer with gnuserv 2010-04-06 Aidan Kehoe <kehoea@parhasard.net> * frame.c (print_frame): When printing a frame, print its device, making the output of #'frame-list a lot more helpful if using gnuclient.
author Aidan Kehoe <kehoea@parhasard.net>
date Tue, 06 Apr 2010 16:32:42 +0100
parents 71ee43b8a74d
children 23f00bfd78a4
files src/ChangeLog src/frame.c
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Mon Apr 05 13:03:35 2010 +0100
+++ b/src/ChangeLog	Tue Apr 06 16:32:42 2010 +0100
@@ -1,3 +1,9 @@
+2010-04-06  Aidan Kehoe  <kehoea@parhasard.net>
+
+	* frame.c (print_frame):
+	When printing a frame, print its device, making the output of
+	#'frame-list a lot more helpful if using gnuclient.
+
 2010-04-04  Ben Wing  <ben@xemacs.org>
 
 	* font-mgr.c:
--- a/src/frame.c	Mon Apr 05 13:03:35 2010 +0100
+++ b/src/frame.c	Tue Apr 06 16:32:42 2010 +0100
@@ -642,6 +642,8 @@
   write_fmt_string (printcharfun, "#<%s-frame ", !FRAME_LIVE_P (frm) ? "dead" :
 		    FRAME_TYPE_NAME (frm));
   print_internal (frm->name, printcharfun, 1);
+  write_ascstring (printcharfun, " on ");
+  print_internal (frm->device, printcharfun, 0);
   write_fmt_string (printcharfun, " 0x%x>", LISP_OBJECT_UID (obj));
 }