[ekg2-commit] ekg2: main.c (HEAD) old.c (HEAD) [peres]
CVS commit
cvs w toxygen.net
Wto, 16 Paź 2007, 20:35:51 CEST
Module name: ekg2
Changes by: peres 2007-10-16 20:35:49
Modified files:
main.c old.c
Log message:
Another forgotten one.
Index: main.c
===================================================================
RCS file: /home/cvs/ekg2/plugins/ncurses/main.c,v
diff -d -u -r1.102 -r1.103
--- main.c 8 Oct 2007 07:42:27 -0000 1.102
+++ main.c 16 Oct 2007 18:35:49 -0000 1.103
@@ -157,6 +157,9 @@
ncurses_redraw_input(0); /* redraw prompt... */
ncurses_commit();
+ if (w->act & 2) /* set <active/> also on incoming chat message receival */
+ w->act |= 8;
+
return 0;
}
Index: old.c
===================================================================
RCS file: /home/cvs/ekg2/plugins/ncurses/old.c,v
diff -d -u -r1.160 -r1.161
--- old.c 8 Oct 2007 09:43:56 -0000 1.160
+++ old.c 16 Oct 2007 18:35:49 -0000 1.161
@@ -183,11 +183,11 @@
TIMER(ncurses_typing) {
if (ncurses_typing_mod > 0) { /* need to update status */
- const int curlen = ncurses_lineslen();
- const int winchange = (ncurses_typing_win != window_current);
+ const int curlen = ncurses_lineslen();
+ const int winchange = (ncurses_typing_win != window_current);
if (winchange && ncurses_typing_win && ncurses_typing_win->target)
- ncurses_typing_time = 0; /* this should force check below */
+ ncurses_typing_time = 0; /* this should force check below */
else
ncurses_typing_time = time(NULL);
@@ -207,7 +207,7 @@
ncurses_typingsend(curlen, winchange);
}
- ncurses_typing_mod = 0;
+ ncurses_typing_mod = 0;
}
{
@@ -223,7 +223,7 @@
debug_function("ncurses_typing(), [UNIMPL] disabling for %s [%s]\n",
ncurses_typing_win->target, session_uid_get(ncurses_typing_win->session));
#endif
- ncurses_typing_win = NULL;
+ ncurses_typing_win = NULL;
}
}
Więcej informacji o liście dyskusyjnej ekg2-commit