Reformatted file.
This commit is contained in:
parent
b0b32734ad
commit
4d179fd88a
@ -952,7 +952,6 @@ BOOL mac_post_connect(freerdp* instance)
|
|||||||
view->bitmap_context = mac_create_bitmap_context(instance->context);
|
view->bitmap_context = mac_create_bitmap_context(instance->context);
|
||||||
pointer_cache_register_callbacks(instance->update);
|
pointer_cache_register_callbacks(instance->update);
|
||||||
graphics_register_pointer(instance->context->graphics, &rdp_pointer);
|
graphics_register_pointer(instance->context->graphics, &rdp_pointer);
|
||||||
|
|
||||||
/* setup pasteboard (aka clipboard) for copy operations (write only) */
|
/* setup pasteboard (aka clipboard) for copy operations (write only) */
|
||||||
view->pasteboard_wr = [NSPasteboard generalPasteboard];
|
view->pasteboard_wr = [NSPasteboard generalPasteboard];
|
||||||
/* setup pasteboard for read operations */
|
/* setup pasteboard for read operations */
|
||||||
@ -1032,8 +1031,8 @@ BOOL mf_Pointer_New(rdpContext* context, rdpPointer* pointer)
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
mrdpCursor->cursor_data = cursor_data;
|
mrdpCursor->cursor_data = cursor_data;
|
||||||
|
|
||||||
format = PIXEL_FORMAT_RGBA32;
|
format = PIXEL_FORMAT_RGBA32;
|
||||||
|
|
||||||
if (freerdp_image_copy_from_pointer_data(
|
if (freerdp_image_copy_from_pointer_data(
|
||||||
cursor_data, format,
|
cursor_data, format,
|
||||||
0, 0, 0, pointer->width, pointer->height,
|
0, 0, 0, pointer->width, pointer->height,
|
||||||
|
Loading…
Reference in New Issue
Block a user