]> code.delx.au - gnu-emacs/commit
New visible-bell for NextStep (OS X El Capitan compatible).
authorAnders Lindgren <andlind@gmail.com>
Mon, 23 Nov 2015 21:03:56 +0000 (22:03 +0100)
committerAnders Lindgren <andlind@gmail.com>
Mon, 23 Nov 2015 21:09:06 +0000 (22:09 +0100)
commit345a9c8cd07111a8c8367e59404688544e8b8b1d
tree7ace6cdac43843ac6e7eade0040d16b636fb38ee
parente395cafbc1b3833d5738f7556e1ac33e8363aece
New visible-bell for NextStep (OS X El Capitan compatible).

Instead of inverting a rectangle in the middle of the frame, use
the standard NextStep image "caution", represented using an
warning sign with an exclamation mark.  (Bug#21662)

Implemented based on a suggestion drafted by Mustafa Kocaturk.

* src/nsterm.m (EmacsBell): New class for managing the caution
image.  Support multiple active bells, the image is removed once
all bells have timed out.
(ns_timeout): Removed, no longer used.
(ns_ring_bell): Reimplemented to use EmacsBell.
src/nsterm.m