Re: CGDisplayIOServicePort deprecated in 10.9... IOServicePortFromCGDisplayID?

2014-06-16 Thread Trygve Inda
> What do you need the IOServicePort for? This GitHub comment provides the > outline of a solution for getting information about individual displays, which > would seem to be more verbose but safer than granting client apps access to > the window server's mach > ports: https://github.com/glfw/glfw

Re: CGDisplayIOServicePort deprecated in 10.9... IOServicePortFromCGDisplayID?

2014-06-15 Thread Kyle Sluder
On Sun, Jun 15, 2014, at 09:56 PM, Trygve Inda wrote: > Someone suggested here: > > http://stackoverflow.com/questions/20025868/cgdisplayioserviceport-is-deprec > ated-in-os-x-10-9-how-to-replace?answertab=votes#tab-top > > that > > io_service_t service = IOServicePortFromCGDisplayID(displayID);

CGDisplayIOServicePort deprecated in 10.9... IOServicePortFromCGDisplayID?

2014-06-15 Thread Trygve Inda
Someone suggested here: http://stackoverflow.com/questions/20025868/cgdisplayioserviceport-is-deprec ated-in-os-x-10-9-how-to-replace?answertab=votes#tab-top that io_service_t service = IOServicePortFromCGDisplayID(displayID); Could be used to replace io_service_t service = CGDisplayIOServiceP