Bug 27224 - [Binding]CGDirectDisplay missing from Xamarin.Mac
Summary: [Binding]CGDirectDisplay missing from Xamarin.Mac
Status: RESOLVED FIXED
Alias: None
Product: Xamarin.Mac
Classification: Desktop
Component: Library (Xamarin.Mac.dll) ()
Version: 1.12.0
Hardware: PC Mac OS
: Normal enhancement
Target Milestone: master
Assignee: Timothy Risi
URL:
Depends on:
Blocks:
 
Reported: 2015-02-19 13:07 UTC by John Miller [MSFT]
Modified: 2016-11-18 00:34 UTC (History)
4 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description John Miller [MSFT] 2015-02-19 13:07:02 UTC
**Overview:**

   An API for CGDisplayHideCursor appears to be missing. 

**Additional Information:**

   Possible workaround: 

[DllImport ("/System/Library/Frameworks/AppKit.framework/AppKit")]
static extern int CGDisplayHideCursor (uint display);

   There are probably more parts of this area that are missing that should be investigated too.
Comment 1 Miguel de Icaza [MSFT] 2015-05-13 21:35:57 UTC
The CGDirectDisplay API is not currently bound, this is a family of methods.
Comment 2 Timothy Risi 2016-11-18 00:34:13 UTC
https://github.com/xamarin/xamarin-macios/pull/1133