Changeset 385fda9 for functions.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
  • functions.c

    rd70f45f r385fda9  
    12481248}
    12491249
    1250 void owl_function_set_cursor(WINDOW *win)
    1251 {
    1252   /* Be careful that this window is actually empty, otherwise panels get confused */
    1253   if (is_wintouched(win)) {
    1254     owl_function_debugmsg("Warning: owl_function_set_cursor called on dirty window");
    1255     update_panels();
    1256   }
    1257   wnoutrefresh(win);
    1258 }
    1259 
    12601250void owl_function_full_redisplay(void)
    12611251{
    12621252  touchwin(owl_global_get_curs_recwin(&g));
    1263   touchwin(owl_global_get_curs_sepwin(&g));
    1264 
    1265   sepbar("");
     1253
     1254  sepbar_dirty();
    12661255
    12671256  owl_global_set_needrefresh(&g);
Note: See TracChangeset for help on using the changeset viewer.