|
|
|
@ -1164,11 +1164,14 @@ lfreerdp_pointer_new(rdpContext *context,
|
|
|
|
|
pointer_new->colorPtrAttr.lengthAndMask));
|
|
|
|
|
|
|
|
|
|
index = pointer_new->colorPtrAttr.cacheIndex;
|
|
|
|
|
if(index>=32){
|
|
|
|
|
if(index>=32)
|
|
|
|
|
{
|
|
|
|
|
LLOGLN(0,("pointer index too big"));
|
|
|
|
|
return ;
|
|
|
|
|
}
|
|
|
|
|
// In this fix we remove the xorBpp check, even if the mouse pointers are not correct we can use them.
|
|
|
|
|
// In this fix we remove the xorBpp check, even if
|
|
|
|
|
// the mouse pointers are not correct we can use them.
|
|
|
|
|
// Configure your destination not to use windows Aero as pointer scheme
|
|
|
|
|
else if ( // pointer_new->xorBpp == 1 &&
|
|
|
|
|
pointer_new->colorPtrAttr.width == 32 &&
|
|
|
|
|
pointer_new->colorPtrAttr.height == 32 &&
|
|
|
|
@ -1241,7 +1244,8 @@ static void DEFAULT_CC lfreerdp_polygon_sc(rdpContext* context, POLYGON_SC_ORDER
|
|
|
|
|
|
|
|
|
|
mod = ((struct mod_context *)context)->modi;
|
|
|
|
|
LLOGLN(10, ("lfreerdp_polygon_sc :%d(points) %d(color) %d(fillmode) %d(bRop) %d(cbData) %d(x) %d(y)", polygon_sc->numPoints,polygon_sc->brushColor,polygon_sc->fillMode,polygon_sc->bRop2,polygon_sc->cbData,polygon_sc->xStart,polygon_sc->yStart));
|
|
|
|
|
if(polygon_sc->numPoints==3){
|
|
|
|
|
if(polygon_sc->numPoints==3)
|
|
|
|
|
{
|
|
|
|
|
server_bpp = mod->inst->settings->ColorDepth;
|
|
|
|
|
client_bpp = mod->bpp;
|
|
|
|
|
|
|
|
|
@ -1267,10 +1271,11 @@ static void DEFAULT_CC lfreerdp_polygon_sc(rdpContext* context, POLYGON_SC_ORDER
|
|
|
|
|
// points[0].x-points[3].x, points[0].y-points[2].y);
|
|
|
|
|
// mod->server_set_brush(mod,); // howto use this on our indata??
|
|
|
|
|
mod->server_set_opcode(mod, 0xcc);
|
|
|
|
|
}else{
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
LLOGLN(0, ("Not handled number of points in lfreerdp_polygon_sc"));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static void DEFAULT_CC lfreerdp_syncronize(rdpContext* context)
|
|
|
|
|