diff options
| author | Karoly Lorentey | 2007-01-29 22:21:19 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2007-01-29 22:21:19 +0000 |
| commit | 93afd0f1d463bec0fc8d3127c1d34ccaa4dbe99b (patch) | |
| tree | 6e4e3bec20b8c65eb1f78b0ad302fa6c1977d355 /src/macselect.c | |
| parent | 38db5c8d522cc1faa8190e77dbc932a5560e6aad (diff) | |
| parent | 5c4a60523827062803ab9a55b4325358225d66bf (diff) | |
| download | emacs-93afd0f1d463bec0fc8d3127c1d34ccaa4dbe99b.tar.gz emacs-93afd0f1d463bec0fc8d3127c1d34ccaa4dbe99b.zip | |
Merged from emacs@sv.gnu.org
Patches applied:
* emacs@sv.gnu.org/emacs--devo--0--patch-599
Merge from erc--main--0
* emacs@sv.gnu.org/emacs--devo--0--patch-600
Merge from erc--main--0
* emacs@sv.gnu.org/emacs--devo--0--patch-601
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-602
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-603
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-604
Merge from gnus--rel--5.10
* emacs@sv.gnu.org/emacs--devo--0--patch-605
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-606
Merge from gnus--rel--5.10
* emacs@sv.gnu.org/emacs--devo--0--patch-607
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-608
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-609
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-610
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-611
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-612
Merge from gnus--rel--5.10
* emacs@sv.gnu.org/emacs--devo--0--patch-613
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-614
Make byte compiler correctly write circular constants
* emacs@sv.gnu.org/emacs--devo--0--patch-615
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-616
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-617
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-618
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-192
Merge from emacs--devo--0
* emacs@sv.gnu.org/gnus--rel--5.10--patch-193
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-194
Merge from emacs--devo--0
* emacs@sv.gnu.org/gnus--rel--5.10--patch-195
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-196
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-594
Diffstat (limited to 'src/macselect.c')
| -rw-r--r-- | src/macselect.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/macselect.c b/src/macselect.c index 8d15db24144..8e86c7651e2 100644 --- a/src/macselect.c +++ b/src/macselect.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Selection processing for Emacs on Mac OS. | 1 | /* Selection processing for Emacs on Mac OS. |
| 2 | Copyright (C) 2005, 2006 Free Software Foundation, Inc. | 2 | Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -1390,7 +1390,7 @@ nil, which means the event is already resumed or expired. */) | |||
| 1390 | ae = *p; | 1390 | ae = *p; |
| 1391 | *p = (*p)->next; | 1391 | *p = (*p)->next; |
| 1392 | if (INTEGERP (error_code) | 1392 | if (INTEGERP (error_code) |
| 1393 | && ae->apple_event.descriptorType != typeNull) | 1393 | && ae->reply.descriptorType != typeNull) |
| 1394 | { | 1394 | { |
| 1395 | SInt32 errn = XINT (error_code); | 1395 | SInt32 errn = XINT (error_code); |
| 1396 | 1396 | ||
| @@ -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; |