Mercurial > emacs
comparison src/ChangeLog @ 53125:a7f6c2aab281
Enhance and consolidate mouse event handling.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Sun, 23 Nov 2003 00:08:23 +0000 |
parents | 43d778d4fc91 |
children | 61a57825f38b |
comparison
equal
deleted
inserted
replaced
53124:43d778d4fc91 | 53125:a7f6c2aab281 |
---|---|
1 2003-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 | |
1 2003-11-22 Lars Hansen <larsh@math.ku.dk> | 32 2003-11-22 Lars Hansen <larsh@math.ku.dk> |
2 | 33 |
3 * w32.c (struct the_group): Added. | 34 * w32.c (struct the_group): Added. |
4 (getgrgid): Added. | 35 (getgrgid): Added. |
5 * mac.c (struct my_group): Added. | 36 * mac.c (struct my_group): Added. |