summaryrefslogtreecommitdiff
path: root/src/input_handler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/input_handler.cc')
-rw-r--r--src/input_handler.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/input_handler.cc b/src/input_handler.cc
index f90d2d22..664490d6 100644
--- a/src/input_handler.cc
+++ b/src/input_handler.cc
@@ -100,7 +100,6 @@ struct MouseHandler
switch (key.mouse_button())
{
case Key::MouseButton::Right: {
- kak_assert(not context.is_editing_selection());
m_dragging.reset();
cursor = context.window().buffer_coord(key.coord());
ScopedSelectionEdition selection_edition{context};
@@ -114,7 +113,6 @@ struct MouseHandler
}
case Key::MouseButton::Left: {
- kak_assert(not context.is_editing_selection());
m_dragging.reset(new ScopedSelectionEdition{context});
m_anchor = context.window().buffer_coord(key.coord());
if (not (key.modifiers & Key::Modifiers::Control))