]> git.eshelyaron.com Git - emacs.git/commitdiff
(t-mouse-make-event-element): Don't use the left edge
authorNick Roberts <nickrob@snap.net.nz>
Tue, 3 Apr 2007 21:16:40 +0000 (21:16 +0000)
committerNick Roberts <nickrob@snap.net.nz>
Tue, 3 Apr 2007 21:16:40 +0000 (21:16 +0000)
of the window if we're outside it e.g menu-bar.

lisp/t-mouse.el

index c8a7e9b6536244d44adc258f30146952703c5f63..eca2ce2b9fe10ddeb750092ce87f8a46ae189c2f 100644 (file)
@@ -144,7 +144,7 @@ For example, \"2\" for /dev/tty2."
         (event (if w
                    (posn-at-x-y (- x left) (- y top) w t)
                  (append (list nil 'menu-bar)
-                         (nthcdr 2 (posn-at-x-y x y w t))))))
+                         (nthcdr 2 (posn-at-x-y x y))))))
     (setcar (nthcdr 3 event) time)
     event))