From 5f4632cf32928cfcd233913df3cf5f79b3dfb30a Mon Sep 17 00:00:00 2001 From: Stefano Ceccherini Date: Wed, 30 Dec 2009 20:54:00 +0000 Subject: [PATCH] I decided to trust (and mimic) Tracker and added a check in TermView::MessageReceived for B_SIMPLE_DATA, so that a drop with the right mouse button is handled correctly. Fixes ticket #5172. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34828 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/terminal/TermView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/terminal/TermView.cpp b/src/apps/terminal/TermView.cpp index 101c9e95d7..8b5acfdb2c 100644 --- a/src/apps/terminal/TermView.cpp +++ b/src/apps/terminal/TermView.cpp @@ -1436,7 +1436,7 @@ TermView::MessageReceived(BMessage *msg) const char *ctrl_l = "\x0c"; // first check for any dropped message - if (msg->WasDropped()) { + if (msg->WasDropped() && msg->what == B_SIMPLE_DATA) { char *text; int32 numBytes; //rgb_color *color;