Fix rotation for multi-monitor situation.
- The (x,y)-coordinates of the crtc were not being passed as xFixed values, which made it an obscure bug to find. - Fix bug #13787.
This commit is contained in:
		
							parent
							
								
									70c0592a97
								
							
						
					
					
						commit
						a48cc88ea2
					
				| 
						 | 
					@ -580,9 +580,9 @@ xf86CrtcRotate (xf86CrtcPtr crtc, DisplayModePtr mode, Rotation rotation)
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
	PictureTransformTranslate (&crtc_to_fb, &fb_to_crtc, crtc->x, crtc->y);
 | 
						PictureTransformTranslate (&crtc_to_fb, &fb_to_crtc, F(crtc->x), F(crtc->y));
 | 
				
			||||||
	PictureTransformIsInverse ("offset", &crtc_to_fb, &fb_to_crtc);
 | 
						PictureTransformIsInverse ("offset", &crtc_to_fb, &fb_to_crtc);
 | 
				
			||||||
	
 | 
					
 | 
				
			||||||
	/* 
 | 
						/* 
 | 
				
			||||||
	 * these are the size of the shadow pixmap, which
 | 
						 * these are the size of the shadow pixmap, which
 | 
				
			||||||
	 * matches the mode, not the pre-rotated copy in the
 | 
						 * matches the mode, not the pre-rotated copy in the
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue