From eaafe1a7c833d2141c2b544e0443d31a1b87e704 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Thu, 2 Jul 2020 04:34:47 +0000 Subject: [PATCH] simplify: we don't support MacOS older than 10.12 git-svn-id: https://xpra.org/svn/Xpra/trunk@26856 3bb7dfac-3a0b-4e04-842a-767bc560f471 --- src/xpra/platform/darwin/gui.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/xpra/platform/darwin/gui.py b/src/xpra/platform/darwin/gui.py index 2bc15c6a89..45ad6e8021 100644 --- a/src/xpra/platform/darwin/gui.py +++ b/src/xpra/platform/darwin/gui.py @@ -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)