mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-13 09:32:47 +00:00
(Fx_window_property): Handle case that property gets
deleted between the two calls to XGetWindowProperty.
This commit is contained in:
parent
15233548ee
commit
4c8c7926fd
@ -1,3 +1,8 @@
|
||||
2001-09-13 Gerd Moellmann <gerd@gnu.org>
|
||||
|
||||
* xfns.c (Fx_window_property): Handle case that property gets
|
||||
deleted between the two calls to XGetWindowProperty.
|
||||
|
||||
2001-09-11 Gerd Moellmann <gerd@gnu.org>
|
||||
|
||||
* minibuf.c (read_minibuf_unwind): Bind inhibit-modification-hooks.
|
||||
|
@ -10279,7 +10279,7 @@ value.")
|
||||
&actual_type, &actual_format,
|
||||
&actual_size, &bytes_remaining,
|
||||
(unsigned char **) &tmp_data);
|
||||
if (rc == Success)
|
||||
if (rc == Success && tmp_data)
|
||||
prop_value = make_string (tmp_data, size);
|
||||
|
||||
XFree (tmp_data);
|
||||
|
Loading…
Reference in New Issue
Block a user