diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xselect.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xselect.c b/src/xselect.c index ef3a78d694d..bd5b979d257 100644 --- a/src/xselect.c +++ b/src/xselect.c | |||
| @@ -249,7 +249,10 @@ x_own_selection (selection_name, selection_value) | |||
| 249 | selection_atom = symbol_to_x_atom (display, selection_name); | 249 | selection_atom = symbol_to_x_atom (display, selection_name); |
| 250 | 250 | ||
| 251 | BLOCK_INPUT; | 251 | BLOCK_INPUT; |
| 252 | x_catch_errors (); | ||
| 252 | XSetSelectionOwner (display, selection_atom, selecting_window, time); | 253 | XSetSelectionOwner (display, selection_atom, selecting_window, time); |
| 254 | x_check_errors ("Can't set selection: %s"); | ||
| 255 | x_uncatch_errors (); | ||
| 253 | UNBLOCK_INPUT; | 256 | UNBLOCK_INPUT; |
| 254 | 257 | ||
| 255 | /* Now update the local cache */ | 258 | /* Now update the local cache */ |