Mercurial > emacs
diff src/xterm.c @ 70652:fc5f994a4079
* xterm.c (handle_one_xevent): Check that f is not NULL before
calling _XEditResCheckMessages.
| author | Jan Dj?rv <jan.h.d@swipnet.se> |
|---|---|
| date | Sun, 14 May 2006 11:26:20 +0000 |
| parents | 54d96a288372 |
| children | 89c31b218b28 |
line wrap: on
line diff
--- a/src/xterm.c Sun May 14 00:30:46 2006 +0000 +++ b/src/xterm.c Sun May 14 11:26:20 2006 +0000 @@ -5803,8 +5803,9 @@ == dpyinfo->Xatom_editres) { f = x_any_window_to_frame (dpyinfo, event.xclient.window); - _XEditResCheckMessages (f->output_data.x->widget, NULL, - &event, NULL); + if (f) + _XEditResCheckMessages (f->output_data.x->widget, NULL, + &event, NULL); goto done; } #endif /* HACK_EDITRES */
