[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-commit] emacs/src keyboard.c
From: |
Kim F. Storm |
Subject: |
[Emacs-commit] emacs/src keyboard.c |
Date: |
Sat, 22 Nov 2003 19:09:39 -0500 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Branch:
Changes by: Kim F. Storm <address@hidden> 03/11/22 19:09:39
Modified files:
src : keyboard.c
Log message:
(make_lispy_position): New function for generating
mouse click positions from frame and pixel coordinates.
Enhanced to return buffer position and actual row/column for
events outside the text area using updated mode_line_string and
marginal_area_string functions.
Return left-fringe and right-fringe clicks as such, rather than
clicks in text area.
(make_lispy_event) [USE_X_TOOLKIT, USE_GTK]: Don't call
pixel_to_glyph_coords, as we never use the results.
(make_lispy_event): Use make_lispy_position for MOUSE_CLICK_EVENT,
WHEEL_EVENT, and DRAG_N_DROP_EVENT to replace redundant code.
Eliminate unused code in WHEEL_EVENT handling.
(make_lispy_movement): Use make_lispy_position.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/emacs/emacs/src/keyboard.c.diff?tr1=1.755&tr2=1.756&r1=text&r2=text