Implement EndPaint.
This commit is contained in:
parent
e75e6bbb53
commit
ec66c2b1b6
@ -51,5 +51,6 @@ void guac_rdp_gdi_memblt(rdpContext* context, MEMBLT_ORDER* memblt);
|
|||||||
void guac_rdp_gdi_opaquerect(rdpContext* context, OPAQUE_RECT_ORDER* opaque_rect);
|
void guac_rdp_gdi_opaquerect(rdpContext* context, OPAQUE_RECT_ORDER* opaque_rect);
|
||||||
void guac_rdp_gdi_palette_update(rdpContext* context, PALETTE_UPDATE* palette);
|
void guac_rdp_gdi_palette_update(rdpContext* context, PALETTE_UPDATE* palette);
|
||||||
void guac_rdp_gdi_set_bounds(rdpContext* context, rdpBounds* bounds);
|
void guac_rdp_gdi_set_bounds(rdpContext* context, rdpBounds* bounds);
|
||||||
|
void guac_rdp_gdi_end_paint(rdpContext* context);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -145,6 +145,7 @@ boolean rdp_freerdp_pre_connect(freerdp* instance) {
|
|||||||
xfree(pointer);
|
xfree(pointer);
|
||||||
|
|
||||||
/* Set up GDI */
|
/* Set up GDI */
|
||||||
|
instance->update->EndPaint = guac_rdp_gdi_end_paint;
|
||||||
instance->update->Palette = guac_rdp_gdi_palette_update;
|
instance->update->Palette = guac_rdp_gdi_palette_update;
|
||||||
instance->update->SetBounds = guac_rdp_gdi_set_bounds;
|
instance->update->SetBounds = guac_rdp_gdi_set_bounds;
|
||||||
|
|
||||||
|
@ -264,3 +264,8 @@ void guac_rdp_gdi_set_bounds(rdpContext* context, rdpBounds* bounds) {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void guac_rdp_gdi_end_paint(rdpContext* context) {
|
||||||
|
guac_client* client = ((rdp_freerdp_context*) context)->client;
|
||||||
|
guac_socket_flush(client->socket);
|
||||||
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user