2003-10-12 Andrew Choi <akochoi@shaw.ca>
+ * macterm.c (XTread_socket): Call DragWindow only for mouseDown
+ events.
+
* s/darwin.h (GC_MARK_STACK): Define.
2003-10-12 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
case inDrag:
#if TARGET_API_MAC_CARBON
- {
- BitMap bm;
-
- GetQDGlobalsScreenBits (&bm);
- DragWindow (window_ptr, er.where, &bm.bounds);
- }
+ if (er.what == mouseDown)
+ {
+ BitMap bm;
+
+ GetQDGlobalsScreenBits (&bm);
+ DragWindow (window_ptr, er.where, &bm.bounds);
+ }
#else /* not TARGET_API_MAC_CARBON */
DragWindow (window_ptr, er.where, &qd.screenBits.bounds);
#endif /* not TARGET_API_MAC_CARBON */