> 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
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);
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