diff options
Diffstat (limited to 'src/macselect.c')
| -rw-r--r-- | src/macselect.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/macselect.c b/src/macselect.c index f9193574bfb..8e86c7651e2 100644 --- a/src/macselect.c +++ b/src/macselect.c | |||
| @@ -1562,10 +1562,17 @@ mac_do_receive_drag (window, refcon, drag) | |||
| 1562 | GlobalToLocal (&mouse_pos); | 1562 | GlobalToLocal (&mouse_pos); |
| 1563 | err = GetDragModifiers (drag, NULL, NULL, &modifiers); | 1563 | err = GetDragModifiers (drag, NULL, NULL, &modifiers); |
| 1564 | } | 1564 | } |
| 1565 | if (err == noErr) | ||
| 1566 | { | ||
| 1567 | UInt32 key_modifiers = modifiers; | ||
| 1568 | |||
| 1569 | err = AEPutParamPtr (&apple_event, kEventParamKeyModifiers, | ||
| 1570 | typeUInt32, &key_modifiers, sizeof (UInt32)); | ||
| 1571 | } | ||
| 1565 | 1572 | ||
| 1566 | if (err == noErr) | 1573 | if (err == noErr) |
| 1567 | { | 1574 | { |
| 1568 | mac_store_drag_event (window, mouse_pos, modifiers, &apple_event); | 1575 | mac_store_drag_event (window, mouse_pos, 0, &apple_event); |
| 1569 | AEDisposeDesc (&apple_event); | 1576 | AEDisposeDesc (&apple_event); |
| 1570 | mac_wakeup_from_rne (); | 1577 | mac_wakeup_from_rne (); |
| 1571 | return noErr; | 1578 | return noErr; |