diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/frame.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/frame.c b/src/frame.c index 569b0622c7d..6228f4c8499 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -834,6 +834,12 @@ but if the second optional argument FORCE is non-nil, you may do so.") | |||
| 834 | minibuf_window = selected_frame->minibuffer_window; | 834 | minibuf_window = selected_frame->minibuffer_window; |
| 835 | } | 835 | } |
| 836 | 836 | ||
| 837 | /* Clear any X selections for this frame. */ | ||
| 838 | #ifdef HAVE_X_WINDOWS | ||
| 839 | if (FRAME_X_P (f)) | ||
| 840 | x_clear_frame_selections (f); | ||
| 841 | #endif | ||
| 842 | |||
| 837 | /* Mark all the windows that used to be on FRAME as deleted, and then | 843 | /* Mark all the windows that used to be on FRAME as deleted, and then |
| 838 | remove the reference to them. */ | 844 | remove the reference to them. */ |
| 839 | delete_all_subwindows (XWINDOW (f->root_window)); | 845 | delete_all_subwindows (XWINDOW (f->root_window)); |