mirror of https://github.com/FreeRDP/FreeRDP
libfreerdp-core: fix replay of RemoteFX session from server
This commit is contained in:
parent
5fd35f0402
commit
84498109c9
|
@ -476,7 +476,7 @@ boolean xf_event_process(freerdp* instance, XEvent* event)
|
|||
app = True;
|
||||
}
|
||||
|
||||
#if 1
|
||||
#if 0
|
||||
if (event->type != MotionNotify)
|
||||
printf("X11 %s Event: wnd=0x%X\n", X11_EVENT_STRINGS[event->type], (uint32)event->xany.window);
|
||||
#endif
|
||||
|
|
|
@ -88,8 +88,8 @@ inline void fastpath_write_update_header(STREAM* s, uint8 updateCode, uint8 frag
|
|||
uint8 updateHeader = 0;
|
||||
|
||||
updateHeader |= updateCode & 0x0F;
|
||||
updateHeader |= (fragmentation << 4) & 0x03;
|
||||
updateHeader |= (compression << 6) & 0x03;
|
||||
updateHeader |= (fragmentation & 0x03) << 4;
|
||||
updateHeader |= (compression & 0x03) << 6;
|
||||
stream_write_uint8(s, updateHeader);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue