diff options
Diffstat (limited to 'chess-display.el')
| -rw-r--r-- | chess-display.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chess-display.el b/chess-display.el index c5c8b33..d2d273d 100644 --- a/chess-display.el +++ b/chess-display.el @@ -7,6 +7,7 @@ (require 'chess-module) (require 'chess-var) (require 'chess-input) +(require 'chess-random) (defgroup chess-display nil "Common code used by chess displays." @@ -1085,6 +1086,9 @@ to the end or beginning." (funcall chess-display-event-handler 'draw-square (point) (or piece last-command-char) index)))) +(unless (fboundp 'event-window) + (defalias 'event-point 'ignore)) + (defun chess-display-mouse-set-piece (event) "Select the piece the user clicked on." (interactive "e") |
