fix - dh... u are hieding a window in response to the hide4 event FOR

that window... thus generating another event saying it was hidden..
thus responding to that event... infinitely looping.. and allocating
an event queue from hell! (ie event queue just keeps getting filled up
by itself with no end). fixed.



SVN revision: 68139
This commit is contained in:
Carsten Haitzler 2012-02-20 04:25:03 +00:00
parent b2b0678165
commit 147659280f
1 changed files with 2 additions and 2 deletions

View File

@ -562,7 +562,7 @@ _e_mod_ind_win_cb_border_hide(void *data, int type __UNUSED__, void *event)
if (!(iwin = data)) return ECORE_CALLBACK_PASS_ON;
ev = event;
if (ev->border != iwin->win->border) return ECORE_CALLBACK_PASS_ON;
e_win_hide(iwin->win);
// e_win_hide(iwin->win);
return ECORE_CALLBACK_PASS_ON;
}
@ -575,6 +575,6 @@ _e_mod_ind_win_cb_border_show(void *data, int type __UNUSED__, void *event)
if (!(iwin = data)) return ECORE_CALLBACK_PASS_ON;
ev = event;
if (ev->border != iwin->win->border) return ECORE_CALLBACK_PASS_ON;
e_win_show(iwin->win);
// e_win_show(iwin->win);
return ECORE_CALLBACK_PASS_ON;
}