View | Details | Raw Unified | Return to bug 37269 | Differences between
and this patch

Collapse All | Expand All

(-)a/lib/src/ItalcVncConnection.cpp (+3 lines)
 Lines 118-123   rfbBool ItalcVncConnection::hookNewClient( rfbClient *cl ) Link Here 
118
118
119
	const int size = (int) cl->width * cl->height *
119
	const int size = (int) cl->width * cl->height *
120
					( cl->format.bitsPerPixel / 8 );
120
					( cl->format.bitsPerPixel / 8 );
121
	if(t->m_image.width() != cl->width && t->m_image.height() != cl->height)
122
	{
121
	if( t->m_frameBuffer )
123
	if( t->m_frameBuffer )
122
	{
124
	{
123
		// do not leak if we get a new framebuffer size
125
		// do not leak if we get a new framebuffer size
 Lines 134-139   rfbBool ItalcVncConnection::hookNewClient( rfbClient *cl ) Link Here 
134
	cl->format.redMax = 0xff;
136
	cl->format.redMax = 0xff;
135
	cl->format.greenMax = 0xff;
137
	cl->format.greenMax = 0xff;
136
	cl->format.blueMax = 0xff;
138
	cl->format.blueMax = 0xff;
139
	}
137
140
138
	// only use remote cursor for remote control
141
	// only use remote cursor for remote control
139
	cl->appData.useRemoteCursor = false;
142
	cl->appData.useRemoteCursor = false;

Return to bug 37269