summaryrefslogtreecommitdiff
path: root/src/gui/chatwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/chatwindow.cpp')
-rw-r--r--src/gui/chatwindow.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/chatwindow.cpp b/src/gui/chatwindow.cpp
index c9c061be2..f14002827 100644
--- a/src/gui/chatwindow.cpp
+++ b/src/gui/chatwindow.cpp
@@ -718,6 +718,9 @@ void ChatWindow::scroll(const int amount) const
void ChatWindow::mousePressed(gcn::MouseEvent &event)
{
+ if (event.isConsumed())
+ return;
+
if (event.getButton() == gcn::MouseEvent::RIGHT)
{
if (viewport)