# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1343062568 0 # Node ID d056a50196a9d5b7870ed286f20107997babf71e # Parent a532ca0231ad115cb39afa27dfe76684eecf8c9a Attempted fix at Mac textured background repeat problems. Thanks to Christoph Sinai for pointing out what the issue was. :) diff -r a532ca0231ad -r d056a50196a9 mac/dw.m --- a/mac/dw.m Thu Jul 19 19:46:35 2012 +0000 +++ b/mac/dw.m Mon Jul 23 16:56:08 2012 +0000 @@ -8272,6 +8272,13 @@ } [[window contentView] showWindow]; [window makeKeyAndOrderFront:nil]; + + if(!([window styleMask] & NSResizableWindowMask)) + { + /* Fix incorrect repeat in displaying textured windows */ + [window setAutorecalculatesContentBorderThickness:NO forEdge:NSMinYEdge]; + [window setContentBorderThickness:0.0 forEdge:NSMinYEdge]; + } } return 0; }