comparison mac/dw.m @ 1782:d056a50196a9

Attempted fix at Mac textured background repeat problems. Thanks to Christoph Sinai for pointing out what the issue was. :)
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Mon, 23 Jul 2012 16:56:08 +0000
parents f77b76c86d19
children 9de6d1cc8fb8
comparison
equal deleted inserted replaced
1781:a532ca0231ad 1782:d056a50196a9
8270 [window setFrameOrigin:point]; 8270 [window setFrameOrigin:point];
8271 [window setShown:YES]; 8271 [window setShown:YES];
8272 } 8272 }
8273 [[window contentView] showWindow]; 8273 [[window contentView] showWindow];
8274 [window makeKeyAndOrderFront:nil]; 8274 [window makeKeyAndOrderFront:nil];
8275
8276 if(!([window styleMask] & NSResizableWindowMask))
8277 {
8278 /* Fix incorrect repeat in displaying textured windows */
8279 [window setAutorecalculatesContentBorderThickness:NO forEdge:NSMinYEdge];
8280 [window setContentBorderThickness:0.0 forEdge:NSMinYEdge];
8281 }
8275 } 8282 }
8276 return 0; 8283 return 0;
8277 } 8284 }
8278 8285
8279 /* 8286 /*