[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2] ui/cocoa: Fix absolute input device grabbing
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH v2] ui/cocoa: Fix absolute input device grabbing issues on Mojave |
Date: |
Wed, 27 Mar 2019 11:37:27 +0000 |
On Wed, 27 Mar 2019 at 01:09, Chen Zhang <address@hidden> wrote:
> Just double-checked on a MacMini mid 2011 with macOS 10.13.6, Xcode 10.1.
> This NSWindow API did exist, and the patch could be built without error.
> Searching convertPointFromScreen in Xcode.app’s platform SDK showed that it
> was defined at line 440 in NSWindow.h of AppKit.framework.
>
> May I ask what build environment did you use (as printed by `xcode-select
> -p`)?
manooth$ xcode-select -p
/Applications/Xcode.app/Contents/Developer
But that doesn't seem to be what the C compiler is actually
using, because the error messages quote the filename
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h
There is no convertPointFromScreen in that header; but there
is one in both of
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Versions/C/Headers/NSWindow.h
and
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Versions/C/Headers/NSWindow.h
which are the other two copies of NSWindow.h this machine has.
thanks
-- PMM