diff options
author | Dan Nicolaescu <dann@ics.uci.edu> | 2007-06-04 05:58:18 +0000 |
---|---|---|
committer | Dan Nicolaescu <dann@ics.uci.edu> | 2007-06-04 05:58:18 +0000 |
commit | 28a55b9bbba2fcf4e7f09e4679be3877e6bd9013 (patch) | |
tree | 8c0f3e9f1a1c32d50390c68752dee6feebad4aec /src/xselect.c | |
parent | eb0571f10885d70a44b3061c35986184cae28846 (diff) | |
download | emacs-28a55b9bbba2fcf4e7f09e4679be3877e6bd9013.tar.gz |
(x_handle_selection_clear): Only access
terminal->kboard when MULTI_KBOARD is defined.
Diffstat (limited to 'src/xselect.c')
-rw-r--r-- | src/xselect.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xselect.c b/src/xselect.c index cb00903c41e..5ce6763cd30 100644 --- a/src/xselect.c +++ b/src/xselect.c @@ -1022,6 +1022,7 @@ x_handle_selection_clear (event) TRACE0 ("x_handle_selection_clear"); +#ifdef MULTI_KBOARD /* If the new selection owner is also Emacs, don't clear the new selection. */ BLOCK_INPUT; @@ -1040,7 +1041,8 @@ x_handle_selection_clear (event) } } UNBLOCK_INPUT; - +#endif + selection_symbol = x_atom_to_symbol (display, selection); local_selection_data = assq_no_quit (selection_symbol, Vselection_alist); |