(!1654) Xnest: replace XFillPolygon() by xcb_fill_poly()
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
		
							parent
							
								
									eb3f6505e1
								
							
						
					
					
						commit
						144a1f01fd
					
				| 
						 | 
					@ -273,8 +273,15 @@ void
 | 
				
			||||||
xnestFillPolygon(DrawablePtr pDrawable, GCPtr pGC, int shape, int mode,
 | 
					xnestFillPolygon(DrawablePtr pDrawable, GCPtr pGC, int shape, int mode,
 | 
				
			||||||
                 int nPoints, DDXPointPtr pPoints)
 | 
					                 int nPoints, DDXPointPtr pPoints)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    XFillPolygon(xnestDisplay, xnestDrawable(pDrawable), xnestGC(pGC),
 | 
					    /* xPoint and xcb_segment_t are defined in the same way, both matching
 | 
				
			||||||
                 (XPoint *) pPoints, nPoints, shape, mode);
 | 
					       the protocol layout, so we can directly typecast them */
 | 
				
			||||||
 | 
					    xcb_fill_poly(xnestUpstreamInfo.conn,
 | 
				
			||||||
 | 
					                  xnestDrawable(pDrawable),
 | 
				
			||||||
 | 
					                  xnest_upstream_gc(pGC),
 | 
				
			||||||
 | 
					                  shape,
 | 
				
			||||||
 | 
					                  mode,
 | 
				
			||||||
 | 
					                  nPoints,
 | 
				
			||||||
 | 
					                  (xcb_point_t*)pPoints);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void
 | 
					void
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue