From 3eda35484e2a59ae676127df9915e0a48bfccefa Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sat, 25 Jul 2009 02:49:15 +0000 Subject: Call ClaimSelection after clearing selection so ownership of the primary selection can be released when nothing is selected. --- src/Editor.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Editor.cxx b/src/Editor.cxx index d0c270184..ee44a6972 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -3768,6 +3768,7 @@ void Editor::ClearSelection() { } } sel.RemoveDuplicates(); + ClaimSelection(); } void Editor::ClearAll() { -- cgit v1.2.3