mfreerdp-server: disabled drawing the cursor in displaystream

This commit is contained in:
C-o-r-E 2013-03-04 15:17:47 -05:00
parent def1fe3366
commit 0f642460e1
1 changed files with 12 additions and 1 deletions

View File

@ -160,15 +160,26 @@ int mf_mlion_screen_updates_init()
localBuf = malloc(pixelWidth * pixelHeight * 4);
CFDictionaryRef opts;
void * keys[2];
void * values[2];
keys[0] = (void *) kCGDisplayStreamShowCursor;
values[0] = (void *) kCFBooleanFalse;
opts = CFDictionaryCreate(kCFAllocatorDefault, (const void **) keys, (const void **) values, 1, NULL, NULL);
stream = CGDisplayStreamCreateWithDispatchQueue(display_id,
pixelWidth,
pixelHeight,
'BGRA',
NULL,
opts,
screen_update_q,
streamHandler);
CFRelease(opts);
return 0;