Add hack to support blank cursors for now

ulab-next
Timothy Pearson 13 years ago committed by Timothy Pearson
parent ab612c9ae8
commit a9cd26a4f3

@ -708,6 +708,12 @@ rdpSpriteSetCursor(DeviceIntPtr pDev, ScreenPtr pScr, CursorPtr pCurs,
if (pCurs == 0)
{
// HACK to support blank cursors
memset(cur_data, 0, sizeof(cur_data));
memset(cur_mask, 0xffffffff, sizeof(cur_mask));
rdpup_begin_update();
rdpup_set_cursor(16, 16, cur_data, cur_mask);
rdpup_end_update();
return;
}

@ -290,7 +290,9 @@ lib_mod_connect(struct mod *mod)
// FIXME CRITICAL
// Prevent an immediate RDP exit
// Why is this still needed even after waiting for the X11rdp server to start!?!?
g_sleep(5000);
// I suspect the X11rdp server is not quite ready to accept new connections when we try to connect
// It is possible that this problem will go away on an Infiniband interconnect, but for now sleeping for 10 seconds seems to work around the problem on 100M Ethernet
g_sleep(10000);
if (g_strcmp(mod->ip, "") == 0)
{

Loading…
Cancel
Save