[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: We should decouple focus and frame switching

From: John Wiegley
Subject: Re: We should decouple focus and frame switching
Date: Sun, 10 Jun 2018 16:16:01 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (darwin)

>>>>> "DC" == Daniel Colascione <address@hidden> writes:

DC> How about this? We'll add a frame-focused-p function that returns nil, t,
DC> or 'unknown, and wire up focus-in-hook and focus-out-hook to run only when
DC> we actually observe a window system focus change, letting the frame switch
DC> stuff run completely independently. This way, we'll be able to write lisp
DC> (as I've been trying to do) that reflects the real window system focus.

DC> Sound good?

Why might we not want this?

John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2

reply via email to

[Prev in Thread] Current Thread [Next in Thread]