(!1639) Xext: shape: drop now obsolete swap procs
Several SProc's have become no-ops, just calling the actual Proc's, so we can get rid of them entirely. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
		
							parent
							
								
									a4e24daa3a
								
							
						
					
					
						commit
						5436891674
					
				| 
						 | 
					@ -1061,12 +1061,6 @@ SShapeNotifyEvent(xShapeNotifyEvent * from, xShapeNotifyEvent * to)
 | 
				
			||||||
    to->shaped = from->shaped;
 | 
					    to->shaped = from->shaped;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static int _X_COLD
 | 
					 | 
				
			||||||
SProcShapeQueryVersion(ClientPtr client)
 | 
					 | 
				
			||||||
{
 | 
					 | 
				
			||||||
    return ProcShapeQueryVersion(client);
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
static int _X_COLD
 | 
					static int _X_COLD
 | 
				
			||||||
SProcShapeRectangles(ClientPtr client)
 | 
					SProcShapeRectangles(ClientPtr client)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
| 
						 | 
					@ -1156,7 +1150,7 @@ SProcShapeDispatch(ClientPtr client)
 | 
				
			||||||
    REQUEST(xReq);
 | 
					    REQUEST(xReq);
 | 
				
			||||||
    switch (stuff->data) {
 | 
					    switch (stuff->data) {
 | 
				
			||||||
    case X_ShapeQueryVersion:
 | 
					    case X_ShapeQueryVersion:
 | 
				
			||||||
        return SProcShapeQueryVersion(client);
 | 
					        return ProcShapeQueryVersion(client);
 | 
				
			||||||
    case X_ShapeRectangles:
 | 
					    case X_ShapeRectangles:
 | 
				
			||||||
        return SProcShapeRectangles(client);
 | 
					        return SProcShapeRectangles(client);
 | 
				
			||||||
    case X_ShapeMask:
 | 
					    case X_ShapeMask:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue