Changeset 07b59ea for owl.c


Ignore:
Timestamp:
Jun 3, 2010, 2:58:30 AM (14 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.10, release-1.7, release-1.8, release-1.9
Children:
e8128c5
Parents:
4dd115f
Message:
Maintain the cursor location with the context stack
File:
1 edited

Legend:

Unmodified
Added
Removed
  • owl.c

    r4dd115f r07b59ea  
    464464  if (owl_global_is_needrefresh(&g)) {
    465465    /* Redraw the screen */
    466 
    467     /* HACK: move the cursor to unmanaged window if necessary; these should be
    468      * associated with the context or something. */
    469     if (!owl_popwin_is_active(owl_global_get_popwin(&g))
    470         && owl_global_get_typwin(&g)) {
    471       owl_window_set_cursor(owl_global_get_curs_typwin(&g));
    472     } else {
    473       owl_window_set_cursor(NULL);
    474     }
    475 
    476466    owl_window_redraw_scheduled();
    477467    doupdate();
     
    549539
    550540  owl_global_pop_context(&g);
    551   owl_global_push_context(&g, OWL_CTX_READCONFIG, NULL, NULL);
     541  owl_global_push_context(&g, OWL_CTX_READCONFIG, NULL, NULL, NULL);
    552542
    553543  perlerr=owl_perlconfig_initperl(opts.configfile, &argc, &argv, &env);
     
    616606
    617607  owl_global_pop_context(&g);
    618   owl_global_push_context(&g, OWL_CTX_READCONFIG|OWL_CTX_RECV, NULL, "recv");
     608  owl_global_push_context(&g, OWL_CTX_READCONFIG|OWL_CTX_RECV, NULL, "recv", NULL);
    619609
    620610  owl_select_add_pre_select_action(owl_refresh_pre_select_action, NULL, NULL);
Note: See TracChangeset for help on using the changeset viewer.