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:
@@ -1438,7 +1438,8 @@ TermView::MessageReceived(BMessage *msg)
|
|||||||
const char *ctrl_l = "\x0c";
|
const char *ctrl_l = "\x0c";
|
||||||
|
|
||||||
// first check for any dropped message
|
// 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;
|
char *text;
|
||||||
int32 numBytes;
|
int32 numBytes;
|
||||||
//rgb_color *color;
|
//rgb_color *color;
|
||||||
|
|||||||
Reference in New Issue
Block a user