diff options
author | Andreas Färber <andreas.faerber@web.de> | 2009-12-13 02:08:58 +0100 |
---|---|---|
committer | malc <av1474@comtv.ru> | 2010-01-07 10:57:33 +0300 |
commit | 17ccbc27def7bb8d27ffc41a3d8e6031dc46ccb4 (patch) | |
tree | 2cd7ae326d1ede5848cf7b4dc593af46788c82ce /cocoa.m | |
parent | d50f71dc17b41205c33f8a45aa4850ad224dfc2c (diff) |
Cocoa: Redraw the View asynchronously
Cf. http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/CocoaPerformance/Articles/CustomViews.html
Based on patch by Juha Riihimäki.
Signed-off-by: Andreas Färber <andreas.faerber@web.de>
Cc: Juha Riihimäki <juha.riihimaki@nokia.com>
Cc: Alexander Graf <alex@csgraf.de>
Cc: Mike Kronenberg <mike.kronenberg@kronenberg.org>
Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'cocoa.m')
-rw-r--r-- | cocoa.m | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -938,7 +938,7 @@ static void cocoa_update(DisplayState *ds, int x, int y, int w, int h) w * [cocoaView cdx], h * [cocoaView cdy]); } - [cocoaView displayRect:rect]; + [cocoaView setNeedsDisplayInRect:rect]; } static void cocoa_resize(DisplayState *ds) |