enable and disable draw ok onlyu on visibility changes.

SVN revision: 31860
This commit is contained in:
Carsten Haitzler 2007-09-29 01:52:13 +00:00
parent 18c11a3355
commit b51a8f26ad
1 changed files with 0 additions and 2 deletions

View File

@ -1090,7 +1090,6 @@ _ecore_evas_x_event_window_show(void *data __UNUSED__, int type __UNUSED__, void
if (ee->visible) return 0; /* dont pass it on */
// printf("SHOW EVENT %p\n", ee);
ee->visible = 1;
ee->draw_ok = 1;
if (ee->func.fn_show) ee->func.fn_show(ee);
return 1;
}
@ -1108,7 +1107,6 @@ _ecore_evas_x_event_window_hide(void *data __UNUSED__, int type __UNUSED__, void
if (!ee->visible) return 0; /* dont pass it on */
// printf("HIDE EVENT %p\n", ee);
ee->visible = 0;
ee->draw_ok = 0;
if (ee->func.fn_hide) ee->func.fn_hide(ee);
return 1;
}