qulogic/libgnt

2b9ac7a0a745
Parents b5667f5158be
Children cf65b6d9c67a
irssi wm: Restore the hardware cursor after title updates.
  • +4 -0
    wms/irssi.c
  • --- a/wms/irssi.c Wed Jan 13 14:00:29 2010 +0000
    +++ b/wms/irssi.c Wed Jan 27 22:23:30 2010 +0000
    @@ -207,11 +207,15 @@
    update_conv_window_title(GntNode *node)
    {
    char title[256];
    + int x, y;
    snprintf(title, sizeof(title), "%d: %s",
    GPOINTER_TO_INT(g_object_get_data(G_OBJECT(node->me), "irssi-index")) + 1,
    GNT_BOX(node->me)->title);
    +
    + getyx(node->window, y, x);
    wbkgdset(node->window, '\0' | COLOR_PAIR(gnt_widget_has_focus(node->me) ? GNT_COLOR_TITLE : GNT_COLOR_TITLE_D));
    mvwaddstr(node->window, 0, 0, title);
    + wmove(node->window, y, x);
    if (!gnt_is_refugee()) {
    update_panels();
    doupdate();