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
This commit is contained in:
Stefano Ceccherini
2009-12-30 20:54:00 +00:00
parent 933764d70e
commit 5f4632cf32
+1 -1
View File
@@ -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;