Changeset 385fda9 for global.c


Ignore:
Timestamp:
Jun 1, 2010, 9:54:19 PM (14 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.10, release-1.7, release-1.8, release-1.9
Children:
a5a9572
Parents:
f06baef
git-author:
David Benjamin <davidben@mit.edu> (06/01/10 21:48:25)
git-committer:
David Benjamin <davidben@mit.edu> (06/01/10 21:54:19)
Message:
A fairly hacky job of porting sepbar to owl_window

We now use the new framework, but the sepbar isn't being marked dirty at
the appropriate times. It'll want to be redone later to take advantage
of the new signals.

The 'in' parameter was also dropped. It was being unused. At best it
provided a strange bug when resizing with appendtosepbar set.

Also revert the attempt at cleaning up the cursor. We still have a hack,
but using owl_window. The cursor probably needs integration with the
context stack or some such.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • global.c

    r5b80b87 r385fda9  
    9898  owl_popwin_init(&(g->pw));
    9999  owl_msgwin_init(&(g->msgwin), g->mainpanel.msgwin);
     100  g_signal_connect(g->mainpanel.sepwin, "redraw", G_CALLBACK(sepbar_redraw), NULL);
    100101
    101102  g->aim_screenname=NULL;
     
    293294}
    294295
    295 WINDOW *owl_global_get_curs_sepwin(const owl_global *g) {
    296   return panel_window(g->seppan);
     296owl_window *owl_global_get_curs_sepwin(const owl_global *g) {
     297  return g->mainpanel.sepwin;
    297298}
    298299
     
    367368                          style,
    368369                          hist);
    369   owl_window_set_cursor(owl_global_get_curs_typwin(g));
    370370  return g->tw;
    371371}
     
    381381  }
    382382  owl_window_dirty(owl_global_get_curs_typwin(g));
    383   /* owl_window_set_cursor(owl_global_get_curs_sepwin(g)); */
    384383
    385384  g->tw = NULL;
     
    521520  /* refresh stuff */
    522521  owl_mainwin_redisplay(&(g->mw));
    523   sepbar(NULL);
     522  sepbar_dirty();
    524523
    525524  owl_function_full_redisplay();
Note: See TracChangeset for help on using the changeset viewer.