Related to #985.
This commit is contained in:
Camilla Löwy 2017-05-16 14:54:46 +02:00
parent 244d6d7823
commit 018ae69b33

View File

@ -423,10 +423,10 @@ static const NSRange kEmptyRange = { NSNotFound, 0 };
- (id)makeBackingLayer
{
if (!window->ns.layer) {
window->ns.layer = [super makeBackingLayer];
}
if (window->ns.layer)
return window->ns.layer;
return [super makeBackingLayer];
}
- (void)cursorUpdate:(NSEvent *)event