summaryrefslogtreecommitdiff
path: root/chess-images.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-images.el')
-rw-r--r--chess-images.el10
1 files changed, 2 insertions, 8 deletions
diff --git a/chess-images.el b/chess-images.el
index 6a202d5..3c7bae0 100644
--- a/chess-images.el
+++ b/chess-images.el
@@ -280,14 +280,8 @@ Common modes are:
(setq chess-images-size (car sizes)
chess-images-cache nil
sizes nil)
- (chess-images-draw)
- (if chess-images-separate-frame
- (let* ((size (float (+ (* (or chess-images-border-width 0) 8)
- (* chess-images-size 8))))
- (max-char-height (ceiling (/ size (frame-char-height))))
- (max-char-width (ceiling (/ size (frame-char-width)))))
- (set-frame-size (selected-frame) max-char-width
- (+ max-char-height 2)))))
+ ;; jww (2002-04-09): need to create a new frame here!
+ (chess-display-update nil))
(setq sizes (cdr sizes))))))
(defun chess-images-increase-size ()