modesetting: Don't (brokenly) double-track software cursor
Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
		
							parent
							
								
									fac2bcf1da
								
							
						
					
					
						commit
						2029c028fc
					
				| 
						 | 
					@ -801,7 +801,7 @@ CreateScreenResources(ScreenPtr pScreen)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    drmmode_uevent_init(pScrn, &ms->drmmode);
 | 
					    drmmode_uevent_init(pScrn, &ms->drmmode);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (!ms->SWCursor)
 | 
					    if (!ms->drmmode.sw_cursor)
 | 
				
			||||||
        drmmode_map_cursor_bos(pScrn, &ms->drmmode);
 | 
					        drmmode_map_cursor_bos(pScrn, &ms->drmmode);
 | 
				
			||||||
    pixels = drmmode_map_front_bo(&ms->drmmode);
 | 
					    pixels = drmmode_map_front_bo(&ms->drmmode);
 | 
				
			||||||
    if (!pixels)
 | 
					    if (!pixels)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -59,7 +59,6 @@ typedef struct _modesettingRec
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    Bool noAccel;
 | 
					    Bool noAccel;
 | 
				
			||||||
    Bool SWCursor;
 | 
					 | 
				
			||||||
    CloseScreenProcPtr CloseScreen;
 | 
					    CloseScreenProcPtr CloseScreen;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /* Broken-out options. */
 | 
					    /* Broken-out options. */
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue