terminal: Only add the new size to the title when we're resizing
authorJasper St. Pierre <jstpierre@mecheye.net>
Fri, 11 Apr 2014 00:23:49 +0000 (17:23 -0700)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 13 May 2014 06:34:05 +0000 (23:34 -0700)
commitde6809912e1a4639b05a4098a346872f91d8103b
treeba547a286a2e8c412ca9841a7664125b5ac3b4f4
parent5befdda84fe7cb2fb6d5d8986a5b8552a1372b8a
terminal: Only add the new size to the title when we're resizing

Add a new state_changed_handler callback to the window to know when the
window has changed state; the terminal will use this to know when the
window started and ended its resize operation, and modify the terminal's
titlebar accordingly.
clients/terminal.c
clients/window.c
clients/window.h