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 |
|
|
32 |
2003-11-22 Lars Hansen <larsh@math.ku.dk> |
2003-11-22 Lars Hansen <larsh@math.ku.dk> |
33 |
|
|
34 |
* w32.c (struct the_group): Added. |
* w32.c (struct the_group): Added. |