mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-27 11:52:27 +00:00
parent
6d18223f17
commit
68423b3603
1 changed files with 1 additions and 1 deletions
|
|
@ -326,7 +326,7 @@ static CVReturn displayLinkCallback(
|
|||
const CVTimeStamp* now UNUSED, const CVTimeStamp* outputTime UNUSED,
|
||||
CVOptionFlags flagsIn UNUSED, CVOptionFlags* flagsOut UNUSED, void* userInfo)
|
||||
{
|
||||
CGDirectDisplayID displayID = (CGDirectDisplayID)userInfo;
|
||||
CGDirectDisplayID displayID = (uintptr_t)userInfo;
|
||||
NSNumber *arg = [NSNumber numberWithUnsignedInt:displayID];
|
||||
[NSApp performSelectorOnMainThread:@selector(render_frame_received:) withObject:arg waitUntilDone:NO];
|
||||
[arg release];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue