diff options
| author | Eli Zaretskii | 2014-09-30 16:53:24 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2014-09-30 16:53:24 +0300 |
| commit | 572fe798cd0a00ad4a9050a7962cf8e8fbcc209b (patch) | |
| tree | c08a6041773d15fb13f03458575c1b37f319d84f /src/ChangeLog | |
| parent | 42d4302f246931b0f92aa5341fe1a8cd9745db08 (diff) | |
| download | emacs-572fe798cd0a00ad4a9050a7962cf8e8fbcc209b.tar.gz emacs-572fe798cd0a00ad4a9050a7962cf8e8fbcc209b.zip | |
Fix creation of frames on MS-Windows: don't cons Lisp objects in input thread.
src/w32fns.c (w32_createwindow): Accept an additional argument, an
array of 2 values specifying the coordinates of the frame's
top-left corner. Use these values instead of calling x_get_arg,
which can cons Lisp objects, and therefore cannot be called except
from the main thread. Remove redundant tests for the default
values.
(my_create_window): Move the calculation of the coordinates of the
frame's top-left edge here. Pass them to the input thread via the
second parameter of the WM_EMACS_CREATEWINDOW message. See
http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00892.html
for the details.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index cc04e0cd826..fdc30da96b6 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,17 @@ | |||
| 1 | 2014-09-30 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * w32fns.c (w32_createwindow): Accept an additional argument, an | ||
| 4 | array of 2 values specifying the coordinates of the frame's | ||
| 5 | top-left corner. Use these values instead of calling x_get_arg, | ||
| 6 | which can cons Lisp objects, and therefore cannot be called except | ||
| 7 | from the main thread. Remove redundant tests for the default | ||
| 8 | values. | ||
| 9 | (my_create_window): Move the calculation of the coordinates of the | ||
| 10 | frame's top-left edge here. Pass them to the input thread via the | ||
| 11 | second parameter of the WM_EMACS_CREATEWINDOW message. See | ||
| 12 | http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00892.html | ||
| 13 | for the details. | ||
| 14 | |||
| 1 | 2014-09-29 Eli Zaretskii <eliz@gnu.org> | 15 | 2014-09-29 Eli Zaretskii <eliz@gnu.org> |
| 2 | 16 | ||
| 3 | * xdisp.c (cursor_row_fully_visible_p): Update commentary. | 17 | * xdisp.c (cursor_row_fully_visible_p): Update commentary. |