gtk developers with IQs over 180 enjoy hiding and showing their windows constantly, especially when resizing. this broke e's comp since we are not nearly that clever and try to defer hide animations in most cases. undoing the defer whenever this happens allows us to keep up with their towering genius.

fixes ticket #765 and probably some others.
affected apps: claws-mail, firefox


SVN revision: 72600
This commit is contained in:
Mike Blumenkrantz 2012-06-21 13:29:45 +00:00
parent cfe425367a
commit 861cd90f9d
1 changed files with 1 additions and 0 deletions

View File

@ -2529,6 +2529,7 @@ _e_mod_comp_show(void *data __UNUSED__,
Ecore_X_Event_Window_Show *ev = event;
E_Comp_Win *cw = _e_mod_comp_win_find(ev->win);
if (!cw) return ECORE_CALLBACK_PASS_ON;
cw->defer_hide = 0;
if (cw->visible) return ECORE_CALLBACK_PASS_ON;
_e_mod_comp_win_show(cw);
return ECORE_CALLBACK_PASS_ON;