# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1330697995 0 # Node ID d7fcea7bfcf9a55b2976e1acb9528404a1fbf30a # Parent a7db944450806786e4721d750e46b88af1f7f906 Add full screen support for resizable windows on Mac 10.7. diff -r a7db94445080 -r d7fcea7bfcf9 mac/dw.m --- a/mac/dw.m Sun Feb 26 10:53:23 2012 +0000 +++ b/mac/dw.m Fri Mar 02 14:19:55 2012 +0000 @@ -7831,6 +7831,12 @@ [window setAutorecalculatesKeyViewLoop:YES]; [window setAcceptsMouseMovedEvents:YES]; [view release]; + + /* Enable full screen mode on resizeable windows */ + if(flStyle & DW_FCF_SIZEBORDER) + { + [window setCollectionBehavior:NSWindowCollectionBehaviorFullScreenPrimary]; + } /* If it isn't a toplevel window... */ if(hwndOwner)