The output's randr_output information was not getting the crtc updated on crtc changes causing the clients to receive output change notification events containing outdated information. The attached patch fixes this problem by setting the output's randr crtc information right when the crtc change occurs.
Created attachment 10848 [details] [review] Set the crtc in the output before notifications are delivered
Created attachment 10859 [details] [review] Set the crtc in the output before notifications are delivered New version of the patch following suggestions from Keith Packard
Patch applied, closing bug.
Just as an update: this fix also requires the already applied commits: 8d230319040f0a7f72231da2bf5ec97dc3612e21 aec0d06469a2fa7440fdd5ee03dc256a68704e77 It might also be worth looking at #11830 which contains some other interesting patches.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.