libfreerdp-core: fix replay of RemoteFX session from server

This commit is contained in:
Marc-André Moreau 2011-08-28 22:27:46 -04:00
parent 5fd35f0402
commit 84498109c9
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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);
}