mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-22 16:18:53 +00:00
Fix for window returning a direct reference to its frame instead of a copy.
Reviewed by me.
This commit is contained in:
1 parent
ee830f51d7
commit
2486965338
1 file changed
+1
-1
@@ -567,7 +567,7 @@ CPTexturedBackgroundWindowMask
|
||||
*/
|
||||
- (CGRect)frame
|
||||
{
|
||||
return _frame;
|
||||
return _CGRectMakeCopy(_frame);
|
||||
}
|
||||
|
||||
/*!
|
||||
|
||||
Reference in new issue
Block a user