Mercurial > emacs
comparison src/macfns.c @ 72705:d51cd08a3471
(mac_window) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]:
Specify kWindowAsyncDragAttribute.
author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
---|---|
date | Fri, 08 Sep 2006 08:18:08 +0000 |
parents | f391876287f6 |
children | caccf1b92ded |
comparison
equal
deleted
inserted
replaced
72704:49fb9398679c | 72705:d51cd08a3471 |
---|---|
2251 #if TARGET_API_MAC_CARBON | 2251 #if TARGET_API_MAC_CARBON |
2252 CreateNewWindow (kDocumentWindowClass, | 2252 CreateNewWindow (kDocumentWindowClass, |
2253 kWindowStandardDocumentAttributes | 2253 kWindowStandardDocumentAttributes |
2254 #ifdef MAC_OSX | 2254 #ifdef MAC_OSX |
2255 | kWindowToolbarButtonAttribute | 2255 | kWindowToolbarButtonAttribute |
2256 #if MAC_OS_X_VERSION_MAX_ALLOWED >= 1030 | |
2257 | kWindowAsyncDragAttribute | |
2258 #endif | |
2256 #endif | 2259 #endif |
2257 , &r, &FRAME_MAC_WINDOW (f)); | 2260 , &r, &FRAME_MAC_WINDOW (f)); |
2258 if (FRAME_MAC_WINDOW (f)) | 2261 if (FRAME_MAC_WINDOW (f)) |
2259 { | 2262 { |
2260 SetWRefCon (FRAME_MAC_WINDOW (f), (long) f->output_data.mac); | 2263 SetWRefCon (FRAME_MAC_WINDOW (f), (long) f->output_data.mac); |