Skip to content

Commit

Permalink
simplify: we don't support MacOS older than 10.12
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@26856 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Jul 2, 2020
1 parent 52cb535 commit eaafe1a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/xpra/platform/darwin/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,11 +260,7 @@ def get_workareas():
frame = screen.frame()
visibleFrame = screen.visibleFrame()
log(" frame=%s, visibleFrame=%s", frame, visibleFrame)
try:
#10.7 onwards:
log(" backingScaleFactor=%s", screen.backingScaleFactor())
except:
pass
log(" backingScaleFactor=%s", screen.backingScaleFactor())
x = int(visibleFrame.origin.x - frame.origin.x)
y = int((frame.size.height - visibleFrame.size.height) - (visibleFrame.origin.y - frame.origin.y))
w = int(visibleFrame.size.width)
Expand Down

0 comments on commit eaafe1a

Please sign in to comment.