terminal: Only reset title if we put the window size there
authorKristian Høgsberg <krh@bitplanet.net>
Wed, 5 Feb 2014 22:44:04 +0000 (14:44 -0800)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 6 Feb 2014 01:01:47 +0000 (17:01 -0800)
commitb405a80c05ba9f355886c18c099543621efc68a8
treecbacb8431b4c36fa4d821eb61297e75f5df85413
parentc896401209f570b2873afe99099b4b9b49cb283d
terminal: Only reset title if we put the window size there

When resizing the terminal, it shows the grid size in the titlebar.
We reset the title next time we get an enter event.  This patch makes
sure we only reset the title the first time we enter after a resize.
clients/terminal.c