]> git.eshelyaron.com Git - emacs.git/commit
Ignore focus events for dead frames
authorDaniel Colascione <dancol@dancol.org>
Wed, 13 Jun 2018 06:09:23 +0000 (23:09 -0700)
committerDaniel Colascione <dancol@dancol.org>
Wed, 13 Jun 2018 06:09:23 +0000 (23:09 -0700)
commit5ed119141d10a09c4cd767c42a25a285f4f844ce
treee38e6057e6d3dd484b8e3f2ff4c2ab50d300cb0f
parent97b78542f60d1079a8407da5e1974d064951fb3d
Ignore focus events for dead frames

Frames can die between the time we generate a focus event and the time
we get around to processing it.  Do run after-focus-change-function,
since that's idempotent and we want to make sure not to miss
any changes.

* lisp/frame.el (handle-focus-in, handle-focus-out): Check for dead frames.
lisp/frame.el