- 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:
- 61c1f19
- Parents:
- b3b1b05
- git-author:
- David Benjamin <davidben@mit.edu> (08/01/10 13:50:19)
- git-committer:
- David Benjamin <davidben@mit.edu> (09/18/10 17:07:39)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
popexec.c
r4cf7b1b r03ca005 17 17 pid_t pid; 18 18 19 if (owl_global_get_popwin(&g)) { 20 owl_function_error("Popwin already in use."); 21 return NULL; 22 } 23 19 24 pe = owl_malloc(sizeof(owl_popexec)); 20 25 if (!pe) return NULL; … … 23 28 pe->refcount=0; 24 29 25 pw=owl_global_get_popwin(&g);26 30 pe->vwin=v=owl_global_get_viewwin(&g); 31 pw = owl_popwin_new(); 32 owl_global_set_popwin(&g, pw); 33 owl_popwin_up(pw); 27 34 28 if (owl_popwin_up(pw) != 0) {29 owl_function_error("Popwin already in use.");30 return NULL;31 }32 35 owl_global_push_context(&g, OWL_CTX_POPLESS, v, "popless", NULL); 33 36 owl_viewwin_init_text(v, owl_popwin_get_content(pw), "");
Note: See TracChangeset
for help on using the changeset viewer.