aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.h
diff options
context:
space:
mode:
authorDmitry Antipov2012-11-08 13:26:40 +0400
committerDmitry Antipov2012-11-08 13:26:40 +0400
commitc66f21eaf103f9ace7400f3d8a06fc34539efca9 (patch)
tree3ae0eaa165b67307d7a40bd4646c7c67b9cefbb5 /src/xterm.h
parenta43d02f01b7b6cc07f15a0a6ea677669ff079618 (diff)
downloademacs-c66f21eaf103f9ace7400f3d8a06fc34539efca9.tar.gz
emacs-c66f21eaf103f9ace7400f3d8a06fc34539efca9.zip
* keyboard.c (event_to_kboard): Do not dereference
frame_or_window field of SELECTION_REQUEST_EVENT and SELECTION_CLEAR_EVENT events (Bug#12814). * xterm.h (struct selection_input_event): Adjust comment.
Diffstat (limited to 'src/xterm.h')
-rw-r--r--src/xterm.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/xterm.h b/src/xterm.h
index 4bc8f9813ed..6ef3d11fe48 100644
--- a/src/xterm.h
+++ b/src/xterm.h
@@ -890,10 +890,8 @@ struct scroll_bar
890 by this structure. */ 890 by this structure. */
891 891
892/* For an event of kind SELECTION_REQUEST_EVENT, 892/* For an event of kind SELECTION_REQUEST_EVENT,
893 this structure really describes the contents. 893 this structure really describes the contents. */
894 **Don't make this struct longer!** 894
895 If it overlaps the frame_or_window field of struct input_event,
896 that will cause GC to crash. */
897struct selection_input_event 895struct selection_input_event
898{ 896{
899 int kind; 897 int kind;