Changeset 4dd115f


Ignore:
Timestamp:
Jun 3, 2010, 2:47:44 AM (15 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.10, release-1.7, release-1.8, release-1.9
Children:
07b59ea
Parents:
571fab7
git-author:
David Benjamin <davidben@mit.edu> (06/03/10 02:47:07)
git-committer:
David Benjamin <davidben@mit.edu> (06/03/10 02:47:44)
Message:
Set the sepwin as the default cursor location

This lets us get rid of get_curs_sepwin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • global.c

    r571fab7 r4dd115f  
    132132  owl_sepbar_init(g->mainpanel.sepwin);
    133133
     134  owl_window_set_default_cursor(g->mainpanel.sepwin);
     135
    134136  /* set up a pad for input */
    135137  g->input_pad = newpad(1, 1);
     
    286288
    287289/* curses windows */
    288 
    289 owl_window *owl_global_get_curs_sepwin(const owl_global *g) {
    290   return g->mainpanel.sepwin;
    291 }
    292290
    293291owl_window *owl_global_get_curs_typwin(const owl_global *g) {
  • owl.c

    rd6f2d21 r4dd115f  
    471471      owl_window_set_cursor(owl_global_get_curs_typwin(&g));
    472472    } else {
    473       owl_window_set_cursor(owl_global_get_curs_sepwin(&g));
     473      owl_window_set_cursor(NULL);
    474474    }
    475475
Note: See TracChangeset for help on using the changeset viewer.