aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorDaniel Colascione2018-06-08 22:47:27 -0700
committerDaniel Colascione2018-06-08 22:51:50 -0700
commit6fdc3fac5658a7ab142c358cddd90f3db5665ef5 (patch)
tree543c9c987546e0bf6dc1bf50f4e18dca097436f3 /etc
parentf1e65b73ca20f72717d0b50fa5d983668a49bc38 (diff)
downloademacs-6fdc3fac5658a7ab142c358cddd90f3db5665ef5.tar.gz
emacs-6fdc3fac5658a7ab142c358cddd90f3db5665ef5.zip
Support terminal focus notifications
* lisp/frame.el (handle-focus-in,handle-focus-out): Make event argument optional. (blink-cursor-check): Make sure that the current frame is a window-system frame before restarting the blink timer. TTY frames can get focus, but don't need a blink timer because the terminal will do the blinking. * lisp/term/xterm.el (xterm-handle-focus-in,xterm-handle-focus-out): New functions. (xterm-rxvt-function-map): Recognize focus notification sequences. (xterm--init-focus-tracking): New function. (terminal-init-xterm): Call it.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 46a57b1888c..3371718473f 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -576,6 +576,11 @@ manual for more details.
576* Lisp Changes in Emacs 27.1 576* Lisp Changes in Emacs 27.1
577 577
578+++ 578+++
579** Emacs now requests and recognizes focus-change notifications from
580 terminals that support the feature, meaning that `focus-in-hook'
581 and `focus-out-hook' may run for TTY frames.
582
583+++
579** Face specifications (of the kind used in `face-remapping-alist') 584** Face specifications (of the kind used in `face-remapping-alist')
580 now support filters, allowing faces to vary between windows display 585 now support filters, allowing faces to vary between windows display
581 the same buffer. 586 the same buffer.