Mercurial > ~mikael > mcabber > hg
diff mcabber/src/screen.c @ 1653:fca9a4c17432
Improve UI latency and CPU usage
Remove main_loop(), and use GIOChannels for the FIFO system.
author | Myhailo Danylenko <isbear@ukrpost.net> |
---|---|
date | Tue, 01 Dec 2009 21:06:06 +0100 |
parents | d0a0d96ed5d5 |
children | dc03a24198a9 |
line wrap: on
line diff
--- a/mcabber/src/screen.c Sun Nov 22 23:38:31 2009 +0200 +++ b/mcabber/src/screen.c Tue Dec 01 21:06:06 2009 +0100 @@ -59,6 +59,7 @@ #include "settings.h" #include "utils.h" #include "xmpp.h" +#include "main.h" #define get_color(col) (COLOR_PAIR(col)|COLOR_ATTRIB[col]) #define compose_color(col) (COLOR_PAIR(col->color_pair)|col->color_attrib)