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.
de68099 terminal: Only add the new size to the title when we're resizing
clients/terminal.c | 38 ++++++++++++++++++++++++--------------
clients/window.c | 17 +++++++++++++++++
clients/window.h | 8 ++++++++
3 files changed, 49 insertions(+), 14 deletions(-)
Upstream: cgit.freedesktop.org