diff options
| author | Dan Nicolaescu | 2007-06-04 05:58:18 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2007-06-04 05:58:18 +0000 |
| commit | d17cf4eb2024cf54e4a216312184665094ee3df4 (patch) | |
| tree | 75b3c1dda3a2f53d49c30de5ce11299f40f163c8 /src | |
| parent | 88acaaf20b2fd0af64eea1b5d4f8fa8227c32e86 (diff) | |
| download | emacs-d17cf4eb2024cf54e4a216312184665094ee3df4.tar.gz emacs-d17cf4eb2024cf54e4a216312184665094ee3df4.zip | |
(x_handle_selection_clear): Only access
terminal->kboard when MULTI_KBOARD is defined.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog.multi-tty | 3 | ||||
| -rw-r--r-- | src/xselect.c | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog.multi-tty b/src/ChangeLog.multi-tty index fc23d818ba5..eb455157034 100644 --- a/src/ChangeLog.multi-tty +++ b/src/ChangeLog.multi-tty | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2007-06-03 Dan Nicolaescu <dann@ics.uci.edu> | 1 | 2007-06-03 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 2 | ||
| 3 | * xselect.c (x_handle_selection_clear): Only access | ||
| 4 | terminal->kboard when MULTI_KBOARD is defined. | ||
| 5 | |||
| 3 | * term.c (init_tty): Use terminal specific mouse_position_hook. | 6 | * term.c (init_tty): Use terminal specific mouse_position_hook. |
| 4 | 7 | ||
| 5 | * macterm.c (mac_create_terminal): Indent and rearrange to be more | 8 | * macterm.c (mac_create_terminal): Indent and rearrange to be more |
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) | |||
| 1022 | 1022 | ||
| 1023 | TRACE0 ("x_handle_selection_clear"); | 1023 | TRACE0 ("x_handle_selection_clear"); |
| 1024 | 1024 | ||
| 1025 | #ifdef MULTI_KBOARD | ||
| 1025 | /* If the new selection owner is also Emacs, | 1026 | /* If the new selection owner is also Emacs, |
| 1026 | don't clear the new selection. */ | 1027 | don't clear the new selection. */ |
| 1027 | BLOCK_INPUT; | 1028 | BLOCK_INPUT; |
| @@ -1040,7 +1041,8 @@ x_handle_selection_clear (event) | |||
| 1040 | } | 1041 | } |
| 1041 | } | 1042 | } |
| 1042 | UNBLOCK_INPUT; | 1043 | UNBLOCK_INPUT; |
| 1043 | 1044 | #endif | |
| 1045 | |||
| 1044 | selection_symbol = x_atom_to_symbol (display, selection); | 1046 | selection_symbol = x_atom_to_symbol (display, selection); |
| 1045 | 1047 | ||
| 1046 | local_selection_data = assq_no_quit (selection_symbol, Vselection_alist); | 1048 | local_selection_data = assq_no_quit (selection_symbol, Vselection_alist); |