# HG changeset patch # User Kim F. Storm # Date 1069970356 0 # Node ID 1ce6314af22ee54251d985934da16afd53c6e0a3 # Parent 61e2da7a49f428693b78e9650785220601f912eb posn-object and posn-object-x-y. diff -r 61e2da7a49f4 -r 1ce6314af22e etc/NEWS --- a/etc/NEWS Thu Nov 27 21:54:19 2003 +0000 +++ b/etc/NEWS Thu Nov 27 21:59:16 2003 +0000 @@ -1740,6 +1740,17 @@ +++ *** New function `posn-actual-col-row' returns actual glyph coordinates. ++++ +*** Mouse events may now include image object in addition to string object. + ++++ +*** Mouse events include relative x and y pixel coordinates relative to +the top left corner of the object (image or character) clicked on. + +*** New functions 'posn-object' and 'posn-object-x-y' return the image +or string object of a mouse click, and the x and y pixel coordinates +relative to the top left corner of that object. + ** New function `force-window-update' can initiate a full redisplay of one or all windows. Normally, this is not needed as changes in window contents are detected automatically. However, certain implicit