We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ba1cd3 commit 25f0a32Copy full SHA for 25f0a32
mss.py
@@ -266,15 +266,13 @@ def enum_display_monitors(self, screen=0):
266
left, top = rect.origin.x, rect.origin.y
267
width, height = rect.size.width, rect.size.height
268
rot = CGDisplayRotation(display)
269
- rotation = rotations[rot]
270
- if rotation in ['left', 'right']:
+ if rotations[rot] in ['left', 'right']:
271
width, height = height, width
272
yield ({
273
b'left': int(left),
274
b'top': int(top),
275
b'width': int(width),
276
- b'height': int(height),
277
- b'rotation': rotation
+ b'height': int(height)
278
})
279
280
def get_pixels(self, monitor):
0 commit comments