diff --git a/src/BufferView.C b/src/BufferView.C index 73977928b4..86d8c8e761 100644 --- a/src/BufferView.C +++ b/src/BufferView.C @@ -157,12 +157,6 @@ BufferView::~BufferView() } -void BufferView::unsetXSel() -{ - xsel_cache_.set = false; -} - - Buffer * BufferView::buffer() const { return buffer_; diff --git a/src/BufferView.h b/src/BufferView.h index c03a887387..2483667893 100644 --- a/src/BufferView.h +++ b/src/BufferView.h @@ -184,9 +184,6 @@ public: /// a function should be executed from the workarea bool workAreaDispatch(FuncRequest const & ev); - /// clear the X selection - void unsetXSel(); - /// access to offset int offset_ref() const; /// access to anchor diff --git a/src/cursor.C b/src/cursor.C index 3a9ed20790..ffcb30e489 100644 --- a/src/cursor.C +++ b/src/cursor.C @@ -493,7 +493,6 @@ void LCursor::clearSelection() selection() = false; mark() = false; resetAnchor(); - bv().unsetXSel(); }