Changeset 9379760
- Timestamp:
- Jun 20, 2010, 4:25:38 PM (14 years ago)
- Branches:
- master, release-1.10, release-1.7, release-1.8, release-1.9
- Children:
- b9d04ad
- Parents:
- 58ea109
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
window.c
r58ea109 r9379760 315 315 } 316 316 317 int owl_window_is_subwin(owl_window *w) 318 { 319 return w->pan == NULL && !w->is_screen; 320 } 321 317 322 static void _owl_window_realize(owl_window *w) 318 323 { … … 403 408 if (!w->dirty) return; 404 409 if (w->win) { 405 if ( !owl_window_is_toplevel(w)) {410 if (owl_window_is_subwin(w)) { 406 411 /* If a subwin, we might have gotten random touched lines from wsyncup or 407 412 * past drawing. That information is useless, so we discard it all */ -
window.h
r33b64f22 r9379760 46 46 int owl_window_is_realized(owl_window *w); 47 47 int owl_window_is_toplevel(owl_window *w); 48 int owl_window_is_subwin(owl_window *w); 48 49 49 50 void owl_window_set_cursor(owl_window *w);
Note: See TracChangeset
for help on using the changeset viewer.