summaryrefslogtreecommitdiff
path: root/xkb
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2016-09-12 12:47:59 +0200
committerHans de Goede <hdegoede@redhat.com>2016-09-13 10:27:30 +0200
commit35c4e96ed1d372dd161480be8cddcd2d4549e449 (patch)
treee084490ccf83e17b5bd6be7f50aa5045833c1cf7 /xkb
parent7b634067c13045671685a9f00bfbac626ed68f94 (diff)
randr: Fix crtc_bounds when using rotation combined with reflection
Before this commit crtc_bounds() did not take reflection into account, when using reflection with 0 / 180 degree rotation this was not an issue because of the default in the switch-case doing the right thing. But when using 90 / 270 degree rotation we would also end up in the default which is wrong in this case. This would lead to the cursor being constrained to a height x height area of the monitor. This commit masks out the reflection bits for the switch-case, making crtc_bounds return the correct bounds and fixing the problematic cursor constraining. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Diffstat (limited to 'xkb')
0 files changed, 0 insertions, 0 deletions