diff options
| author | Paul Eggert | 2011-04-09 11:42:31 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-04-09 11:42:31 -0700 |
| commit | 762f8d96719ba3e8a0e79d8bb99fe8e119fafb3a (patch) | |
| tree | 7b2fe40a89bf327ea8b9ad8265a6b6f27cacd2a7 /src/xterm.c | |
| parent | eb3f1cc8dfe6a96505f1c5f9174b2712998cb52f (diff) | |
| parent | 8546720e6f25eb988e8215de6678798053031440 (diff) | |
| download | emacs-762f8d96719ba3e8a0e79d8bb99fe8e119fafb3a.tar.gz emacs-762f8d96719ba3e8a0e79d8bb99fe8e119fafb3a.zip | |
Merge from mainline.
Diffstat (limited to 'src/xterm.c')
| -rw-r--r-- | src/xterm.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/xterm.c b/src/xterm.c index 3fc431c1350..b3e33b7c0bb 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -4045,7 +4045,7 @@ x_window_to_scroll_bar (Display *display, Window window_id) | |||
| 4045 | return XSCROLL_BAR (bar); | 4045 | return XSCROLL_BAR (bar); |
| 4046 | } | 4046 | } |
| 4047 | 4047 | ||
| 4048 | return 0; | 4048 | return NULL; |
| 4049 | } | 4049 | } |
| 4050 | 4050 | ||
| 4051 | 4051 | ||
| @@ -6008,7 +6008,7 @@ handle_one_xevent (struct x_display_info *dpyinfo, XEvent *eventptr, | |||
| 6008 | goto OTHER; | 6008 | goto OTHER; |
| 6009 | #endif /* USE_X_TOOLKIT */ | 6009 | #endif /* USE_X_TOOLKIT */ |
| 6010 | { | 6010 | { |
| 6011 | XSelectionClearEvent *eventp = (XSelectionClearEvent *) &event; | 6011 | XSelectionClearEvent *eventp = &(event.xselectionclear); |
| 6012 | 6012 | ||
| 6013 | inev.ie.kind = SELECTION_CLEAR_EVENT; | 6013 | inev.ie.kind = SELECTION_CLEAR_EVENT; |
| 6014 | SELECTION_EVENT_DISPLAY (&inev.sie) = eventp->display; | 6014 | SELECTION_EVENT_DISPLAY (&inev.sie) = eventp->display; |
| @@ -6025,8 +6025,7 @@ handle_one_xevent (struct x_display_info *dpyinfo, XEvent *eventptr, | |||
| 6025 | goto OTHER; | 6025 | goto OTHER; |
| 6026 | #endif /* USE_X_TOOLKIT */ | 6026 | #endif /* USE_X_TOOLKIT */ |
| 6027 | { | 6027 | { |
| 6028 | XSelectionRequestEvent *eventp | 6028 | XSelectionRequestEvent *eventp = &(event.xselectionrequest); |
| 6029 | = (XSelectionRequestEvent *) &event; | ||
| 6030 | 6029 | ||
| 6031 | inev.ie.kind = SELECTION_REQUEST_EVENT; | 6030 | inev.ie.kind = SELECTION_REQUEST_EVENT; |
| 6032 | SELECTION_EVENT_DISPLAY (&inev.sie) = eventp->display; | 6031 | SELECTION_EVENT_DISPLAY (&inev.sie) = eventp->display; |