Fix #4864: Register pointer cache after PostConnect is called

With #4950 client side pointer implementation was made optional.
This addresses an issue that each client had to call
pointer_cache_register_callbacks on its own.
This commit is contained in:
Armin Novak
2018-11-20 09:09:52 +01:00
parent b216520d5b
commit 666ef4ab34
8 changed files with 5 additions and 6 deletions

View File

@@ -258,7 +258,6 @@ static BOOL ios_post_connect(freerdp* instance)
instance->update->BeginPaint = ios_ui_begin_paint;
instance->update->EndPaint = ios_ui_end_paint;
instance->update->DesktopResize = ios_ui_resize_window;
pointer_cache_register_callbacks(instance->update);
[mfi->session performSelectorOnMainThread:@selector(sessionDidConnect)
withObject:nil waitUntilDone:YES];
return TRUE;