Also accept B_MIME_DATA dropped messages. Allows the Terminal to be used with
Keymap as an on-screen keyboard by dropping the sample clipboard content and the actual keys onto it (including control ones). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35293 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
96d719ae74
commit
a387e84423
|
@ -1438,7 +1438,8 @@ TermView::MessageReceived(BMessage *msg)
|
|||
const char *ctrl_l = "\x0c";
|
||||
|
||||
// first check for any dropped message
|
||||
if (msg->WasDropped() && msg->what == B_SIMPLE_DATA) {
|
||||
if (msg->WasDropped() && (msg->what == B_SIMPLE_DATA
|
||||
|| msg->what == B_MIME_DATA)) {
|
||||
char *text;
|
||||
int32 numBytes;
|
||||
//rgb_color *color;
|
||||
|
|
Loading…
Reference in New Issue