diff options
| author | Dmitry Antipov | 2014-03-06 15:18:22 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2014-03-06 15:18:22 +0400 |
| commit | 12e852a208f2035094b46999e92afa8e3366748b (patch) | |
| tree | 4843fd877d76169e571bb18ce4b43a812601ba34 /src/ChangeLog | |
| parent | f65ba1005b499a7fb77c77652f37338277f06616 (diff) | |
| download | emacs-12e852a208f2035094b46999e92afa8e3366748b.tar.gz emacs-12e852a208f2035094b46999e92afa8e3366748b.zip | |
* xterm.c (xim_initialize): Always pass a copy of resource name
to XRegisterIMInstantiateCallback and eassert whether return
value is True. Passing copy is important because Xlib doesn't
make its own copy and resource name argument usually points to
SSDATA (Vx_resource_name), which may be changed from Lisp.
(xim_close_display): For XUnregisterIMInstantiateCallback,
always eassert return value and pass exactly the same values
as were used for XRegisterIMInstantiateCallback. Otherwise
XUnregisterIMInstantiateCallback will always fail. See Xlib
sources to check why if you are interested.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 29b6078b037..8f9d7f555a3 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,16 @@ | |||
| 1 | 2014-03-06 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 2 | |||
| 3 | * xterm.c (xim_initialize): Always pass a copy of resource name | ||
| 4 | to XRegisterIMInstantiateCallback and eassert whether return | ||
| 5 | value is True. Passing copy is important because Xlib doesn't | ||
| 6 | make its own copy and resource name argument usually points to | ||
| 7 | SSDATA (Vx_resource_name), which may be changed from Lisp. | ||
| 8 | (xim_close_display): For XUnregisterIMInstantiateCallback, | ||
| 9 | always eassert return value and pass exactly the same values | ||
| 10 | as were used for XRegisterIMInstantiateCallback. Otherwise | ||
| 11 | XUnregisterIMInstantiateCallback will always fail. See Xlib | ||
| 12 | sources to check why if you are interested. | ||
| 13 | |||
| 1 | 2014-03-05 Martin Rudalics <rudalics@gmx.at> | 14 | 2014-03-05 Martin Rudalics <rudalics@gmx.at> |
| 2 | 15 | ||
| 3 | * dispnew.c (change_frame_size_1): Add new_lines instead of | 16 | * dispnew.c (change_frame_size_1): Add new_lines instead of |