Fix #9743: [OSX] Only (re-)create touchbar sprites when requested by the main loop.

This commit is contained in:
Michael Lutz
2021-12-31 01:04:35 +01:00
parent f40e82a19d
commit b351cbe490
5 changed files with 63 additions and 18 deletions

View File

@@ -95,6 +95,8 @@ static NSDictionary *touchBarFallbackText = @{
- (instancetype)initWithContentRect:(NSRect)contentRect styleMask:(NSUInteger)styleMask backing:(NSBackingStoreType)backingType defer:(BOOL)flag driver:(VideoDriver_Cocoa *)drv;
- (void)setFrame:(NSRect)frameRect display:(BOOL)flag;
- (void)refreshSystemSprites;
@end
/** Subclass of NSView to support mouse awareness and text input. */