Commit 62f99d2a authored by Martin Tobias Holmedahl Sandsmark's avatar Martin Tobias Holmedahl Sandsmark Committed by Kurt Hindenburg

don't send mouse events in read-only mode

parent 4806bec4
......@@ -933,6 +933,10 @@ void Session::runCommand(const QString& command) const
void Session::sendMouseEvent(int buttons, int column, int line, int eventType)
{
if (isReadOnly()) {
return;
}
_emulation->sendMouseEvent(buttons, column, line, eventType);
}
......
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