cocoa: only call resize for view changing frame

This commit is contained in:
Stefano Pigozzi committed 2014-10-04 17:39:43 +02:00
1 parent 0541151b40
commit e75ce6c869
2 files changed
+2 -5

No files matched your search

+1
View File
@@ -147,6 +147,7 @@
{
[super setFrameSize:size];
[self signalMousePosition];
[self.adapter setNeedsResize];
}
- (NSPoint)convertPointToPixels:(NSPoint)point
+1 -5
View File
@@ -47,13 +47,9 @@
return self;
}
- (void)windowDidResize:(NSNotification *) notification
{
[self.adapter setNeedsResize];
}
- (void)windowDidChangeBackingProperties:(NSNotification *)notification
{
// XXX: we maybe only need expose for this
[self.adapter setNeedsResize];
}