Implement display-monitor-attributes-list for NS.
authorJan Djärv <jan.h.d@swipnet.se>
Thu, 9 May 2013 15:17:38 +0000 (17:17 +0200)
committerJan Djärv <jan.h.d@swipnet.se>
Thu, 9 May 2013 15:17:38 +0000 (17:17 +0200)
commit4465bfb465ffdecc9422bd2f3cd34440c7710dfa
tree8ddad534e448b0cd115f7747f7e7e59b8ce755b5
parent7583e2a0e23b20ecd29fa0e308e710bde4873ea4
Implement display-monitor-attributes-list for NS.

* lisp/frame.el (display-monitor-attributes-list): Add NS case.
(ns-display-monitor-attributes-list): Declare.

* src/nsfns.m: Include IOGraphicsLib.h if Cocoa.
(Qgeometry, Qworkarea, Qmm_size, Qframes, Qsource): Declare.
(MonitorInfo): New struct.
(free_monitors, ns_screen_name, ns_make_monitor_attribute_list)
(Fns_display_monitor_attributes_list): New functions.
(display-usable-bounds): Remove.
(syms_of_nsfns): DEFSYM Qgeometry, Qworkarea, Qmm_size, Qframes and
Qsource.
configure.ac
lisp/ChangeLog
lisp/frame.el
src/ChangeLog
src/nsfns.m