forked from enlightenment/efl
oooh that broke comp - hmm this bears some investigaing. remove eating
of show/hide events for ee's SVN revision: 50982
This commit is contained in:
parent
18c41d2e78
commit
6308b452af
|
@ -1004,7 +1004,7 @@ _ecore_evas_x_event_window_show(void *data __UNUSED__, int type __UNUSED__, void
|
||||||
(!strcmp(ee->driver, "opengl_x11")))
|
(!strcmp(ee->driver, "opengl_x11")))
|
||||||
evas_damage_rectangle_add(ee->evas, 0, 0, ee->w, ee->h);
|
evas_damage_rectangle_add(ee->evas, 0, 0, ee->w, ee->h);
|
||||||
}
|
}
|
||||||
if (ee->visible) return ECORE_CALLBACK_PASS_ON;
|
if (ee->visible) return ECORE_CALLBACK_DONE;
|
||||||
// printf("SHOW EVENT %p\n", ee);
|
// printf("SHOW EVENT %p\n", ee);
|
||||||
ee->visible = 1;
|
ee->visible = 1;
|
||||||
if (ee->func.fn_show) ee->func.fn_show(ee);
|
if (ee->func.fn_show) ee->func.fn_show(ee);
|
||||||
|
@ -1021,7 +1021,7 @@ _ecore_evas_x_event_window_hide(void *data __UNUSED__, int type __UNUSED__, void
|
||||||
ee = ecore_event_window_match(e->win);
|
ee = ecore_event_window_match(e->win);
|
||||||
if (!ee) return ECORE_CALLBACK_PASS_ON; /* pass on event */
|
if (!ee) return ECORE_CALLBACK_PASS_ON; /* pass on event */
|
||||||
if (e->win != ee->prop.window) return ECORE_CALLBACK_PASS_ON;
|
if (e->win != ee->prop.window) return ECORE_CALLBACK_PASS_ON;
|
||||||
if (!ee->visible) return ECORE_CALLBACK_PASS_ON;
|
if (!ee->visible) return ECORE_CALLBACK_DONE;
|
||||||
// printf("HIDE EVENT %p\n", ee);
|
// printf("HIDE EVENT %p\n", ee);
|
||||||
ee->visible = 0;
|
ee->visible = 0;
|
||||||
if (ee->func.fn_hide) ee->func.fn_hide(ee);
|
if (ee->func.fn_hide) ee->func.fn_hide(ee);
|
||||||
|
|
Loading…
Reference in New Issue