- Timestamp:
- Nov 26, 2010, 4:04:03 AM (14 years ago)
- Branches:
- master, release-1.10, release-1.7, release-1.8, release-1.9
- Children:
- 7aa1fa5
- Parents:
- 1dd285b
- git-author:
- Anders Kaseorg <andersk@mit.edu> (11/06/10 18:40:11)
- git-committer:
- Anders Kaseorg <andersk@mit.edu> (11/26/10 04:04:03)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
window.c
r6ad7bed rb31f1c9 297 297 void owl_window_show_all(owl_window *w) 298 298 { 299 FuncOneArg ptr = (FuncOneArg)owl_window_show; 299 300 owl_window_show(w); 300 FuncOneArg ptr = (FuncOneArg)owl_window_show;301 301 owl_window_children_foreach(w, first_arg_only, &ptr); 302 302 } … … 348 348 static void _owl_window_realize(owl_window *w) 349 349 { 350 FuncOneArg ptr = (FuncOneArg)_owl_window_realize_later; 350 351 /* check if we can create a window */ 351 352 if (owl_window_is_realized(w) || !_owl_window_should_realize(w)) … … 359 360 owl_window_dirty(w); 360 361 /* map the children */ 361 FuncOneArg ptr = (FuncOneArg)_owl_window_realize_later;362 362 owl_window_children_foreach(w, first_arg_only, &ptr); 363 363 } … … 365 365 static void _owl_window_unrealize(owl_window *w) 366 366 { 367 FuncOneArg ptr = (FuncOneArg)_owl_window_unrealize; 367 368 if (w->win == NULL) 368 369 return; 369 370 /* unmap all the children */ 370 FuncOneArg ptr = (FuncOneArg)_owl_window_unrealize;371 371 owl_window_children_foreach(w, first_arg_only, &ptr); 372 372 _owl_window_destroy_curses(w); … … 445 445 static void _owl_window_redraw_subtree(owl_window *w) 446 446 { 447 FuncOneArg ptr = (FuncOneArg)_owl_window_redraw_subtree; 447 448 if (!w->dirty_subtree) 448 449 return; 449 450 _owl_window_redraw(w); 450 FuncOneArg ptr = (FuncOneArg)_owl_window_redraw_subtree;451 451 owl_window_children_foreach(w, first_arg_only, &ptr); 452 452 w->dirty_subtree = 0;
Note: See TracChangeset
for help on using the changeset viewer.