From 033a9058945b4388e854efbd0beb0925b64ca17a Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 17 Jun 2002 21:56:10 +0000 Subject: *** no comment *** --- chess-display.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'chess-display.el') diff --git a/chess-display.el b/chess-display.el index e55431b..6ff06c4 100644 --- a/chess-display.el +++ b/chess-display.el @@ -383,7 +383,9 @@ that is supported by most displays, and is the default mode." (defun chess-display-popup-in-window () "Popup the given DISPLAY, so that it's visible to the user." (unless (get-buffer-window (current-buffer)) - (fit-window-to-buffer (display-buffer (current-buffer))))) + (if (> (length (window-list)) 1) + (fit-window-to-buffer (display-buffer (current-buffer))) + (display-buffer (current-buffer))))) (defun chess-display-popup-in-frame (height width &optional display no-minibuffer) -- cgit v1.2.3