# HG changeset patch # User Andrew Choi # Date 1066003630 0 # Node ID 7d76fa8c5eda63bd05b545fcada7dd90758c3f68 # Parent 99773e17bcaf848efeca3971f2094d713538c5a2 * macterm.c (XTread_socket): Call DragWindow only for mouseDown events. diff -r 99773e17bcaf -r 7d76fa8c5eda src/ChangeLog --- a/src/ChangeLog Sun Oct 12 23:38:07 2003 +0000 +++ b/src/ChangeLog Mon Oct 13 00:07:10 2003 +0000 @@ -1,5 +1,8 @@ 2003-10-12 Andrew Choi + * macterm.c (XTread_socket): Call DragWindow only for mouseDown + events. + * s/darwin.h (GC_MARK_STACK): Define. 2003-10-12 Jan Dj,Ad(Brv diff -r 99773e17bcaf -r 7d76fa8c5eda src/macterm.c --- a/src/macterm.c Sun Oct 12 23:38:07 2003 +0000 +++ b/src/macterm.c Mon Oct 13 00:07:10 2003 +0000 @@ -7875,12 +7875,13 @@ 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 */