mirror of
https://github.com/brl/mutter.git
synced 2024-10-05 21:56:15 -04:00
crtc-kms: Ignore 90° rotations
They tend to require special modifiers or won't work at all; ignore them.
This commit is contained in:
parent
ad4dbefbc0
commit
f0b7cf4d91
@ -368,12 +368,8 @@ parse_transforms (MetaCrtc *crtc,
|
||||
|
||||
if (strcmp (prop->enums[i].name, "rotate-0") == 0)
|
||||
transform = META_MONITOR_TRANSFORM_NORMAL;
|
||||
else if (strcmp (prop->enums[i].name, "rotate-90") == 0)
|
||||
transform = META_MONITOR_TRANSFORM_90;
|
||||
else if (strcmp (prop->enums[i].name, "rotate-180") == 0)
|
||||
transform = META_MONITOR_TRANSFORM_180;
|
||||
else if (strcmp (prop->enums[i].name, "rotate-270") == 0)
|
||||
transform = META_MONITOR_TRANSFORM_270;
|
||||
|
||||
if (transform != -1)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user