Add signals for titlebar resizes (FS#1233)

Signed-off-by: Uli Schlachter <psychon@znc.in>