Fix for window returning a direct reference to its frame instead of a copy.

Reviewed by me.
This commit is contained in:
Francisco Ryan Tolmasky I
2009-06-23 17:00:25 -07:00
parent ee830f51d7
commit 2486965338
+1 -1
View File
@@ -567,7 +567,7 @@ CPTexturedBackgroundWindowMask
*/
- (CGRect)frame
{
return _frame;
return _CGRectMakeCopy(_frame);
}
/*!