Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Konsole
Commits
62f99d2a
Commit
62f99d2a
authored
Jul 09, 2020
by
Martin Tobias Holmedahl Sandsmark
Committed by
Kurt Hindenburg
Jul 12, 2020
Browse files
don't send mouse events in read-only mode
parent
4806bec4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Session.cpp
View file @
62f99d2a
...
...
@@ -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
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment