(XTread_socket) <FocusIn>: Queue a FOCUS_IN_EVENT which
authorGerd Moellmann <gerd@gnu.org>
Thu, 8 Jun 2000 20:56:24 +0000 (20:56 +0000)
committerGerd Moellmann <gerd@gnu.org>
Thu, 8 Jun 2000 20:56:24 +0000 (20:56 +0000)
commiteb72635f8a6b56026a3baa4b915e39afe85a7b9f
tree9eb2147ceb831e8e77e5e926b5320aba10153855
parent767bf649a9182f7912dae51cddc55247a416e332
(XTread_socket) <FocusIn>: Queue a FOCUS_IN_EVENT which
will be translated to a switch-frame event in when reading the
event queue.  This is necessary because Emacs otherwise won't
perform a switch-frame to a new frame until some other event, for
example a keystroke event, forces it to do so.  This has various
effects, one visible being that the cursor of a frame created with
C-x 5 2 or switched to with a window manager key binding like
A-TAB stays hollow because selected_window isn't on the newly
focused frame until the switch-frame is performed.
src/xterm.c