comparison lisp/term/sup-mouse.el @ 88155:d7ddb3e565de

sync with trunk
author Henrik Enberg <henrik.enberg@telia.com>
date Mon, 16 Jan 2006 00:03:54 +0000
parents 5ade352e8d1c
children
comparison
equal deleted inserted replaced
88154:8ce476d3ba36 88155:d7ddb3e565de
1 ;;; sup-mouse.el --- supdup mouse support for lisp machines 1 ;;; sup-mouse.el --- supdup mouse support for lisp machines
2 2
3 ;; Copyright (C) Free Software Foundation 1985, 1986 3 ;; Copyright (C) 1985, 1986, 2002, 2003, 2004,
4 ;; 2005 Free Software Foundation, Inc.
4 5
5 ;; Author: Wolfgang Rupprecht 6 ;; Author: Wolfgang Rupprecht
6 ;; Maintainer: FSF 7 ;; Maintainer: FSF
7 ;; Created: 21 Nov 1986 8 ;; Created: 21 Nov 1986
8 ;; Keywords: hardware 9 ;; Keywords: hardware
21 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 22 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 ;; GNU General Public License for more details. 23 ;; GNU General Public License for more details.
23 24
24 ;; You should have received a copy of the GNU General Public License 25 ;; You should have received a copy of the GNU General Public License
25 ;; along with GNU Emacs; see the file COPYING. If not, write to the 26 ;; along with GNU Emacs; see the file COPYING. If not, write to the
26 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, 27 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
27 ;; Boston, MA 02111-1307, USA. 28 ;; Boston, MA 02110-1301, USA.
28 29
29 ;;; Commentary: 30 ;;; Commentary:
30 31
31 ;;; Code: 32 ;;; Code:
32 33
194 "Find window corresponding to frame coordinates. 195 "Find window corresponding to frame coordinates.
195 X and Y are 0-based character positions on the frame." 196 X and Y are 0-based character positions on the frame."
196 (get-window-with-predicate (lambda (w) 197 (get-window-with-predicate (lambda (w)
197 (coordinates-in-window-p (cons x y) w)))) 198 (coordinates-in-window-p (cons x y) w))))
198 199
200 ;;; arch-tag: ec644ed4-cac4-43b8-b3db-cfe83e9098d7
199 ;;; sup-mouse.el ends here 201 ;;; sup-mouse.el ends here