- Timestamp:
- Sep 18, 2010, 5:07:39 PM (14 years ago)
- Branches:
- master, release-1.10, release-1.7, release-1.8, release-1.9
- Children:
- 08263a8
- Parents:
- 1d74663
- git-author:
- David Benjamin <davidben@mit.edu> (08/07/10 16:23:50)
- git-committer:
- David Benjamin <davidben@mit.edu> (09/18/10 17:07:39)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
global.c
r1d74663 rcb81570 171 171 void owl_global_push_context(owl_global *g, int mode, void *data, const char *keymap, owl_window *cursor) { 172 172 owl_context *c; 173 if (!(mode & OWL_CTX_MODE_BITS)) 174 mode |= OWL_CTX_INTERACTIVE; 175 c = owl_malloc(sizeof *c); 176 memset(c, 0, sizeof(*c)); 177 c->mode = mode; 178 c->data = data; 179 c->cursor = cursor ? g_object_ref(cursor) : NULL; 180 c->keymap = owl_strdup(keymap); 173 c = owl_context_new(mode, data, keymap, cursor); 181 174 owl_global_push_context_obj(g, c); 182 175 }
Note: See TracChangeset
for help on using the changeset viewer.