Bug 1148 - OSX MonitorDevice: Use unique and native deviceID instead of index
Summary: OSX MonitorDevice: Use unique and native deviceID instead of index
Status: RESOLVED FIXED
Alias: None
Product: Newt
Classification: JogAmp
Component: macosx (show other bugs)
Version: 1
Hardware: All all
: --- enhancement
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2015-03-21 04:35 CET by Sven Gothel
Modified: 2015-03-21 04:38 CET (History)
0 users

See Also:
Type: ---
SCM Refs:
7438540ee6604cf91e14f12da891834d4cd83cfe
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Gothel 2015-03-21 04:35:57 CET
Adopt to bug 1147, commit 2c88b6dfd4eb7e2cd9a50fa48e08ecafc980931a.

Using the native unique deviceID makes monitor identification more robust.
Comment 1 Sven Gothel 2015-03-21 04:38:20 CET
7438540ee6604cf91e14f12da891834d4cd83cfe

Changed as described ..

    This also allows us simplify
      displayID -> NSScreen-idx -> MonitorDevice
    into
      displayID -> MonitorDevice
    
    and to survive a primary monitor change.