Commit d17cf4eb authored by Dan Nicolaescu's avatar Dan Nicolaescu
Browse files

(x_handle_selection_clear): Only access

terminal->kboard when MULTI_KBOARD is defined.
parent 88acaaf2
2007-06-03 Dan Nicolaescu <dann@ics.uci.edu>
* xselect.c (x_handle_selection_clear): Only access
terminal->kboard when MULTI_KBOARD is defined.
* term.c (init_tty): Use terminal specific mouse_position_hook.
* macterm.c (mac_create_terminal): Indent and rearrange to be more
......
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment