1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-01 03:36:45 +02:00

correctly reposition call infobox on resize

This commit is contained in:
Jfreegman
2014-07-01 11:17:52 -04:00
parent 3e22c9b829
commit 893cfaa543
3 changed files with 14 additions and 5 deletions

View File

@ -543,10 +543,6 @@ void chat_onPeerTimeout (ToxWindow *self, ToxAv *av, int call_index)
line_info_add(self, NULL, NULL, NULL, "Peer disconnected; call ended!", SYS_MSG, 0, 0);
}
#define INFOBOX_HEIGHT 7
#define INFOBOX_WIDTH 21
static void init_infobox(ToxWindow *self)
{
ChatContext *ctx = self->chatwin;