Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

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