Commit bb2a0a65 authored by Richard M. Stallman's avatar Richard M. Stallman

(Fdelete_frame): Call x_clear_frame_selections.

parent 2a6cf806
......@@ -834,6 +834,12 @@ but if the second optional argument FORCE is non-nil, you may do so.")
minibuf_window = selected_frame->minibuffer_window;
/* Clear any X selections for this frame. */
if (FRAME_X_P (f))
x_clear_frame_selections (f);
/* 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));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment