changeset 83447:a78c6255d3be

Fix last frame check in server.el. * lisp/server.el (server-handle-delete-frame): Fix last frame check. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-487
author Karoly Lorentey <lorentey@elte.hu>
date Mon, 02 Jan 2006 09:07:22 +0000
parents 8eba1344ed4f
children d2af586aefe4
files lisp/server.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/server.el	Mon Jan 02 08:35:45 2006 +0000
+++ b/lisp/server.el	Mon Jan 02 09:07:22 2006 +0000
@@ -322,7 +322,7 @@
     (when (and (frame-live-p frame)
 	       proc
 	       ;; See if this is the last frame for this client.
-	       (< 1 (let ((frame-num 0))
+	       (>= 1 (let ((frame-num 0))
 		      (dolist (f (frame-list))
 			(when (eq proc (frame-parameter f 'client))
 			  (setq frame-num (1+ frame-num))))