aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKim F. Storm2003-11-23 00:08:23 +0000
committerKim F. Storm2003-11-23 00:08:23 +0000
commit63ccbe215a3c5c79b2910d045f3c29353976e54e (patch)
treed1a9eb811dee8fb1e2d08e70163661d0e7867ad8 /src
parent930a9995bd01eb2aa309a234b4a6b6751127e996 (diff)
downloademacs-63ccbe215a3c5c79b2910d045f3c29353976e54e.tar.gz
emacs-63ccbe215a3c5c79b2910d045f3c29353976e54e.zip
Enhance and consolidate mouse event handling.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index e16464f2291..1b039817337 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,34 @@
12003-11-23 Kim F. Storm <storm@cua.dk>
2
3 * dispnew.c (buffer_posn_from_coords): Return actual row/column
4 for glyph clicked on, rather than (unused) pixel positions.
5 (mode_line_string, marginal_area_string): Change X and Y args to
6 pointers for returning actual row/column for glyph clicked on.
7 Simplify and optimize loops.
8
9 * dispextern.h (mode_line_string, marginal_area_string):
10 Update prototypes.
11
12 * keyboard.c (make_lispy_position): New function for generating
13 mouse click positions from frame and pixel coordinates.
14 Enhanced to return buffer position and actual row/column for
15 events outside the text area using updated mode_line_string and
16 marginal_area_string functions.
17 Return left-fringe and right-fringe clicks as such, rather than
18 clicks in text area.
19 (make_lispy_event) [USE_X_TOOLKIT, USE_GTK]: Don't call
20 pixel_to_glyph_coords, as we never use the results.
21 (make_lispy_event): Use make_lispy_position for MOUSE_CLICK_EVENT,
22 WHEEL_EVENT, and DRAG_N_DROP_EVENT to replace redundant code.
23 Eliminate unused code in WHEEL_EVENT handling.
24 (make_lispy_movement): Use make_lispy_position.
25
26 * window.c (coordinates_in_window): Remove redundant tests.
27 Fix returned X pixel value for left-margin.
28
29 * xdisp.c (note_mode_line_or_margin_highlight): Adapt to new
30 mode_line_string and marginal_area_string parameters.
31
12003-11-22 Lars Hansen <larsh@math.ku.dk> 322003-11-22 Lars Hansen <larsh@math.ku.dk>
2 33
3 * w32.c (struct the_group): Added. 34 * w32.c (struct the_group): Added.