(!1654) Xnest: use XCB_BACK_PIXMAP_* defines
Use xcb's defines instead of Xlib's ones. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
		
							parent
							
								
									584636a8f0
								
							
						
					
					
						commit
						32795fcd5e
					
				| 
						 | 
				
			
			@ -267,11 +267,11 @@ xnestChangeWindowAttributes(WindowPtr pWin, unsigned long mask)
 | 
			
		|||
 | 
			
		||||
    if (mask & XCB_CW_BACK_PIXMAP)
 | 
			
		||||
        switch (pWin->backgroundState) {
 | 
			
		||||
        case None:
 | 
			
		||||
        case XCB_BACK_PIXMAP_NONE:
 | 
			
		||||
            attributes.background_pixmap = None;
 | 
			
		||||
            break;
 | 
			
		||||
 | 
			
		||||
        case ParentRelative:
 | 
			
		||||
        case XCB_BACK_PIXMAP_PARENT_RELATIVE:
 | 
			
		||||
            attributes.background_pixmap = ParentRelative;
 | 
			
		||||
            break;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue