* nsterm.h (EmacsPrefsController.cursorBlinkSlider): Only define
authorAdrian Robert <Adrian.B.Robert@gmail.com>
Thu, 29 Jan 2009 10:38:16 +0000 (10:38 +0000)
committerAdrian Robert <Adrian.B.Robert@gmail.com>
Thu, 29 Jan 2009 10:38:16 +0000 (10:38 +0000)
commitd72a4afa742b06438a53ad2a1c5fc31ccf4accbc
tree090bb66fc9326a32a2d95f42084c48ed714f47e6
parentd7e008d06f649becf95349ac606946ee31c2fbee
* nsterm.h (EmacsPrefsController.cursorBlinkSlider): Only define
under GNUstep.
(ns_query_color): New declaration.

* nsterm.m (ns_confirm_quit): New variable.
(ns_set_default_prefs, syms_of_nsterm, ns_term_init): Initialize it.
(EmacsApp-applicationShouldTerminate:): Use it.
(EmacsPrefsController): Let user set it.
(ns_query_color): New function.
(ns_defined_color): Use it.
(ns_initialize): Drop.
(ns_term_init): Add two lines from ns_initialize(), and set
input_interrupt_mode to nil.

* image.c (svg_load_image): Don't right-shift background RGB when
obtained from FRAME_BACKGROUND_PIXEL. Under HAVE_NS use ns_query_color.
src/ChangeLog