]> git.eshelyaron.com Git - emacs.git/commitdiff
[TARGET_API_MAC_CARBON] (mac_do_receive_drag): Use
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Fri, 15 Dec 2006 08:05:27 +0000 (08:05 +0000)
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Fri, 15 Dec 2006 08:05:27 +0000 (08:05 +0000)
mac_wakeup_from_rne instead of mac_post_mouse_moved_event.

src/macselect.c

index 7a952f88367d82407387efe27a5b611fd5d3da17..8d15db24144ce63b44b987d592b3a5b67d36966f 100644 (file)
@@ -1567,8 +1567,7 @@ mac_do_receive_drag (window, refcon, drag)
     {
       mac_store_drag_event (window, mouse_pos, modifiers, &apple_event);
       AEDisposeDesc (&apple_event);
-      /* Post a harmless event so as to wake up from ReceiveNextEvent.  */
-      mac_post_mouse_moved_event ();
+      mac_wakeup_from_rne ();
       return noErr;
     }
   else