changeset 2066:9b4cb6b6d474

entered into RCS
author Richard M. Stallman <rms@gnu.org>
date Mon, 08 Mar 1993 07:44:39 +0000
parents 32afcdd08efe
children 0a353ddd4bf4
files lisp/emacs-lisp/levents.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/levents.el	Mon Mar 08 06:37:04 1993 +0000
+++ b/lisp/emacs-lisp/levents.el	Mon Mar 08 07:44:39 1993 +0000
@@ -230,7 +230,7 @@
 (defun event-x (event)
   "Returns the X position in characters of the given mouse-related event."
   (/ (car (posn-col-row (event-end event)))
-     (character-width (window-frame (event-window event)))))
+     (frame-char-width (window-frame (event-window event)))))
 
 (defun event-x-pixel (event)
   "Returns the X position in pixels of the given mouse-related event."
@@ -239,7 +239,7 @@
 (defun event-y (event)
   "Returns the Y position in characters of the given mouse-related event."
   (/ (cdr (posn-col-row (event-end event)))
-     (character-width (window-frame (event-window event)))))
+     (frame-char-height (window-frame (event-window event)))))
 
 (defun event-y-pixel (event)
   "Returns the Y position in pixels of the given mouse-related event."