- Timestamp:
- Sep 18, 2010, 5:07:39 PM (13 years ago)
- Branches:
- master, release-1.7, release-1.8, release-1.9
- Children:
- d574d61
- Parents:
- 8ee712e0
- git-author:
- David Benjamin <davidben@mit.edu> (08/01/10 14:09:34)
- git-committer:
- David Benjamin <davidben@mit.edu> (09/18/10 17:07:39)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
popexec.c
r03ca005 r9eb38bb 17 17 pid_t pid; 18 18 19 if (owl_global_get_popwin(&g) ) {19 if (owl_global_get_popwin(&g) || owl_global_get_viewwin(&g)) { 20 20 owl_function_error("Popwin already in use."); 21 21 return NULL; … … 28 28 pe->refcount=0; 29 29 30 pe->vwin=v=owl_global_get_viewwin(&g);31 30 pw = owl_popwin_new(); 32 31 owl_global_set_popwin(&g, pw); 33 32 owl_popwin_up(pw); 33 pe->vwin = v = owl_viewwin_new_text(owl_popwin_get_content(pw), ""); 34 owl_global_set_viewwin(&g, v); 35 owl_viewwin_set_onclose_hook(v, owl_popexec_viewwin_onclose, pe); 34 36 35 37 owl_global_push_context(&g, OWL_CTX_POPLESS, v, "popless", NULL); 36 owl_viewwin_init_text(v, owl_popwin_get_content(pw), "");37 owl_viewwin_set_onclose_hook(v, owl_popexec_viewwin_onclose, pe);38 38 pe->refcount++; 39 39
Note: See TracChangeset
for help on using the changeset viewer.