handle frames and iframes as well
commitbe5a1011f6f564679817b7d05b4fcce5c88d07bf
authorMarco Peereboom <marco@conformal.com>
Wed, 9 Nov 2011 17:13:27 +0000 (9 11:13 -0600)
committerMarco Peereboom <marco@conformal.com>
Wed, 9 Nov 2011 17:13:27 +0000 (9 11:13 -0600)
treef66551710de457c6ea38d7e7e67ccc986babec8c
parent33e7c584ecc62c391cda9abf806b9d5a18b42e2d
handle frames and iframes as well

So now the heuristic is: focus on something in frame or iframe
if nothing is found there then focus on input or textarea.

This code does NOT take tabindex into account!  It simply picks the
first occurrence.  This is deliberate!
xxxterm.c