diff options
| author | Jan D | 2015-02-25 20:16:44 +0100 |
|---|---|---|
| committer | Jan D | 2015-02-25 20:16:44 +0100 |
| commit | 719fd9334634dfc91e145d0a7320387a8bb4b75f (patch) | |
| tree | f8291b946d6c23dd60b564dda4ccae43a7a70c9a /src/ChangeLog | |
| parent | 0731a2e857f6d328a06a12d9d7540f41f3a8ae04 (diff) | |
| download | emacs-719fd9334634dfc91e145d0a7320387a8bb4b75f.tar.gz emacs-719fd9334634dfc91e145d0a7320387a8bb4b75f.zip | |
Redo the whole window offsets and coordinate translation for X.
* frame.h (struct frame): Remove x_pixels_diff, y_pixels_diff.
* w32fns.c (x_real_positions): Remove setting of x_pixels_diff,
y_pixels_diff.
* xfns.c (x_real_pos_and_offsets): New function, basically the code
from x_real_positions.
(x_real_positions): Call x_real_pos_and_offsets.
(x_relative_mouse_position): Use XTranslateCoordinates instead of
OUTER_TO_INNER_DIFF macros.
(Fx_frame_geometry): Get offsets with x_real_pos_and_offsets,
border from window attributes. Adjust tool bar and menu widths.
* xmenu.c (create_and_show_popup_menu): Use XTranslateCoordinates
instead of OUTER_TO_INNER_DIFF macros.
* xterm.h (struct x_output): Remove x_pixels_outer_diff,
y_pixels_outer_diff, FRAME_OUTER_TO_INNER_DIFF_X,
FRAME_OUTER_TO_INNER_DIFF_Y. Declare x_real_pos_and_offsets.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 1f0781fef10..e4506968baa 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,25 @@ | |||
| 1 | 2015-02-25 Jan Djärv <jan.h.d@swipnet.se> | ||
| 2 | |||
| 3 | * xterm.h (struct x_output): Remove x_pixels_outer_diff, | ||
| 4 | y_pixels_outer_diff, FRAME_OUTER_TO_INNER_DIFF_X, | ||
| 5 | FRAME_OUTER_TO_INNER_DIFF_Y. Declare x_real_pos_and_offsets. | ||
| 6 | |||
| 7 | * xmenu.c (create_and_show_popup_menu): Use XTranslateCoordinates | ||
| 8 | instead of OUTER_TO_INNER_DIFF macros. | ||
| 9 | |||
| 10 | * xfns.c (x_real_pos_and_offsets): New function, basically the code | ||
| 11 | from x_real_positions. | ||
| 12 | (x_real_positions): Call x_real_pos_and_offsets. | ||
| 13 | (x_relative_mouse_position): Use XTranslateCoordinates instead of | ||
| 14 | OUTER_TO_INNER_DIFF macros. | ||
| 15 | (Fx_frame_geometry): Get offsets with x_real_pos_and_offsets, | ||
| 16 | border from window attributes. Adjust tool bar and menu widths. | ||
| 17 | |||
| 18 | * w32fns.c (x_real_positions): Remove setting of x_pixels_diff, | ||
| 19 | y_pixels_diff. | ||
| 20 | |||
| 21 | * frame.h (struct frame): Remove x_pixels_diff, y_pixels_diff. | ||
| 22 | |||
| 1 | 2015-02-25 Paul Eggert <eggert@cs.ucla.edu> | 23 | 2015-02-25 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 24 | ||
| 3 | Backtrace after malloc arena is corrupted | 25 | Backtrace after malloc arena is corrupted |