comparison src/macterm.c @ 52827:7d76fa8c5eda

* macterm.c (XTread_socket): Call DragWindow only for mouseDown events.
author Andrew Choi <akochoi@shaw.ca>
date Mon, 13 Oct 2003 00:07:10 +0000
parents 7f9bdf6cf89b
children 8af8c70252c1
comparison
equal deleted inserted replaced
52826:99773e17bcaf 52827:7d76fa8c5eda
7873 } 7873 }
7874 break; 7874 break;
7875 7875
7876 case inDrag: 7876 case inDrag:
7877 #if TARGET_API_MAC_CARBON 7877 #if TARGET_API_MAC_CARBON
7878 { 7878 if (er.what == mouseDown)
7879 BitMap bm; 7879 {
7880 7880 BitMap bm;
7881 GetQDGlobalsScreenBits (&bm); 7881
7882 DragWindow (window_ptr, er.where, &bm.bounds); 7882 GetQDGlobalsScreenBits (&bm);
7883 } 7883 DragWindow (window_ptr, er.where, &bm.bounds);
7884 }
7884 #else /* not TARGET_API_MAC_CARBON */ 7885 #else /* not TARGET_API_MAC_CARBON */
7885 DragWindow (window_ptr, er.where, &qd.screenBits.bounds); 7886 DragWindow (window_ptr, er.where, &qd.screenBits.bounds);
7886 #endif /* not TARGET_API_MAC_CARBON */ 7887 #endif /* not TARGET_API_MAC_CARBON */
7887 break; 7888 break;
7888 7889