diff options
| author | John Wiegley <johnw@newartisans.com> | 2002-06-17 21:56:10 +0000 |
|---|---|---|
| committer | John Wiegley <johnw@newartisans.com> | 2002-06-17 21:56:10 +0000 |
| commit | 033a9058945b4388e854efbd0beb0925b64ca17a (patch) | |
| tree | 28c2ff49dcc154c6e751847dec67d575acaae161 /chess-display.el | |
| parent | 1c6731f49c6ae6a6a0e8fc6b715a9eccb4b389c8 (diff) | |
*** no comment ***
Diffstat (limited to 'chess-display.el')
| -rw-r--r-- | chess-display.el | 4 |
1 files changed, 3 insertions, 1 deletions
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) |
