changeset 8099:a06382fd175d

(Fdelete_frame): Call x_clear_frame_selections.
author Richard M. Stallman <rms@gnu.org>
date Fri, 01 Jul 1994 00:35:07 +0000
parents e44c31d682b1
children eaaf6c8933b2
files src/frame.c
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/frame.c	Fri Jul 01 00:32:05 1994 +0000
+++ b/src/frame.c	Fri Jul 01 00:35:07 1994 +0000
@@ -834,6 +834,12 @@
       minibuf_window = selected_frame->minibuffer_window;
     }
 
+  /* Clear any X selections for this frame.  */
+#ifdef HAVE_X_WINDOWS
+  if (FRAME_X_P (f))
+    x_clear_frame_selections (f);
+#endif
+
   /* Mark all the windows that used to be on FRAME as deleted, and then
      remove the reference to them.  */
   delete_all_subwindows (XWINDOW (f->root_window));