aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1994-07-01 00:35:07 +0000
committerRichard M. Stallman1994-07-01 00:35:07 +0000
commitbb2a0a651e0bd00baa0948a5b8e5013ba049d9e4 (patch)
tree463634dc4a1995c3775adb37f85153323bd57a2c /src
parent2a6cf806e2c2b937d37dcfec0b66f58eef053ca1 (diff)
downloademacs-bb2a0a651e0bd00baa0948a5b8e5013ba049d9e4.tar.gz
emacs-bb2a0a651e0bd00baa0948a5b8e5013ba049d9e4.zip
(Fdelete_frame): Call x_clear_frame_selections.
Diffstat (limited to 'src')
-rw-r--r--src/frame.c6
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));