ensure that event mask is unset on parents of modal windows before applying previous mask

SVN revision: 75365
This commit is contained in:
Mike Blumenkrantz 2012-08-17 08:00:46 +00:00
parent 229233c766
commit dd83f4a7d1
1 changed files with 1 additions and 0 deletions

View File

@ -4745,6 +4745,7 @@ _e_border_del(E_Border *bd)
bd->parent->transients = eina_list_remove(bd->parent->transients, bd);
if (bd->parent->modal == bd)
{
ecore_x_event_mask_unset(bd->parent->client.win, ECORE_X_EVENT_MASK_WINDOW_DAMAGE | ECORE_X_EVENT_MASK_WINDOW_PROPERTY);
ecore_x_event_mask_set(bd->parent->client.win, bd->parent->saved.event_mask);
bd->parent->lock_close = 0;
bd->parent->saved.event_mask = 0;