mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-03-14 12:31:22 +00:00

As the screen output rotation can be changed on the fly, if it has been rotated to 90 or 270 the nearest flag will be incorrect, so we perform this check here and override the provided value.