only take focus on create tab when focusing
commitfdb2f77f8be9b7bc254c35758eb15496694055ff
authorMarco Peereboom <marco@conformal.com>
Thu, 6 Oct 2011 18:11:35 +0000 (6 13:11 -0500)
committerMarco Peereboom <marco@conformal.com>
Thu, 6 Oct 2011 18:11:35 +0000 (6 13:11 -0500)
treedd8ba8e1e6449ac7f448dd46c22199f9a44495be
parentf8e4dfe5864fa010d14e4cf1729de17d51a0890f
only take focus on create tab when focusing

This fixes a logic error where the focus variable was independently
evaluated from the actual focus code.
Fixes FS#152
xxxterm.c