emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r102410: * src/keyboard.c (make_lispy


From: Chong Yidong
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r102410: * src/keyboard.c (make_lispy_position): Fix pixel calculation error in last commit.
Date: Tue, 16 Nov 2010 16:38:37 -0500
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 102410
committer: Chong Yidong <address@hidden>
branch nick: trunk
timestamp: Tue 2010-11-16 16:38:37 -0500
message:
  * src/keyboard.c (make_lispy_position): Fix pixel calculation error in last 
commit.
modified:
  src/keyboard.c
=== modified file 'src/keyboard.c'
--- a/src/keyboard.c    2010-11-16 19:59:24 +0000
+++ b/src/keyboard.c    2010-11-16 21:38:37 +0000
@@ -5280,7 +5280,7 @@
         buffer_posn_from_coords.  */
       if (part == ON_TEXT)
        {
-         xret = wx - window_box_left (w, TEXT_AREA);
+         xret = XINT (x) - window_box_left (w, TEXT_AREA);
          yret = wy - WINDOW_HEADER_LINE_HEIGHT (w);
        }
       /* For mode line and header line clicks, return X relative to


reply via email to

[Prev in Thread] Current Thread [Next in Thread]